:root {
  --color-primary: #4A4E54;
  --color-secondary: #F4F4F2;
  --color-accent: #007AFF;
  --font-main: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 14px 32px rgba(74, 78, 84, 0.12);
  --spacing: clamp(16px, 2.2vw, 28px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-primary);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  z-index: 2000;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ececec;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px var(--spacing);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: var(--color-primary);
  font-weight: 600;
  padding: 6px 8px;
  border-radius: var(--radius);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  background: var(--color-secondary);
  color: #1f2328;
  text-decoration: none;
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  transition: 0.3s ease;
}

.burger-icon::before {
  transform: translateY(-6px);
}

.burger-icon::after {
  transform: translateY(4px);
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background: transparent;
}

.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg);
}

.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(1px, -1px);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 18, 20, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 1100;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 1150;
  padding: 22px;
}

.mobile-panel.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  gap: 8px;
}

.mobile-nav-list a {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 12px 14px;
}

main {
  flex: 1;
}

.page-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--spacing) 54px;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 22px 0 30px;
  border-radius: 10px;
  background: linear-gradient(138deg, #ffffff 6%, #f5f7fa 55%, #eef4ff 100%);
  border: 1px solid #ebebeb;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.9)), url("../pictures/product.webp");
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 4vw, 42px);
}

.hero-card,
.section-card,
.order-box,
.info-card,
.faq-item,
.contact-card,
.legal-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border: 1px solid #e7e7e7;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(74, 78, 84, 0.08);
}

.hero-card,
.order-box {
  padding: clamp(18px, 3vw, 30px);
}

.badge,
.rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  margin: 0 8px 10px 0;
}

.badge {
  background: #edf4ff;
  color: #164a8a;
}

.rating {
  background: #f0f7ff;
  color: #1158a8;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 14px;
}

.price-now {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--color-primary);
}

.price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: #7d848f;
}

.grid-sections {
  display: grid;
  gap: var(--spacing);
}

.section-card {
  padding: clamp(18px, 3vw, 24px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-card:hover,
.section-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(74, 78, 84, 0.12);
}

.pulsar {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.5); }
  80% { box-shadow: 0 0 0 12px rgba(0, 122, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0); }
}

.btn,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover,
.btn:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  background: #fff;
  color: var(--color-primary);
  text-decoration: none;
}

.scan {
  position: relative;
  overflow: hidden;
}

.scan::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 24%;
  height: 100%;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.8), transparent 90%);
  transform: skewX(-16deg);
}

.scan:hover::after {
  animation: scan 0.8s ease;
}

@keyframes scan {
  from { left: -35%; }
  to { left: 130%; }
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d2d6de;
  border-radius: 4px;
  padding: 11px 12px;
  font: inherit;
  color: #222;
  background: #fff;
}

input:focus,
textarea:focus {
  border-color: var(--color-accent);
  outline: 2px solid rgba(0, 122, 255, 0.15);
}

.error-text {
  color: #b00020;
  font-size: 0.88rem;
}

.gdpr-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.gdpr-row input {
  width: auto;
  margin-top: 4px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #ececec;
  text-align: left;
  font-size: 1rem;
  padding: 14px;
  color: var(--color-primary);
  font-weight: 700;
}

.faq-content {
  padding: 0 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.open .faq-content {
  max-height: 180px;
  padding: 12px 14px 16px;
}

.contact-link {
  word-break: break-word;
  font-weight: 700;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius);
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1500;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions,
.cookie-toggles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-secondary);
  border-radius: 999px;
  padding: 7px 10px;
}

footer {
  margin-top: auto;
  border-top: 1px solid #ececec;
  background: #fbfbfb;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px var(--spacing);
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

  .order-layout {
    display: grid;
    gap: var(--spacing);
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
  }
}

@media (max-width: 1023px) {
  .site-nav {
    display: none;
  }

  .burger-btn {
    display: inline-flex;
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .menu-overlay,
  .mobile-panel {
    display: none;
  }
}
