:root {
  --primary-color: #2D5C7F;
  --secondary-color: #2C7FB2;
  --accent-color: #4A90E2;
  --light-color: #EAF3FB;
  --dark-color: #1A3A52;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #2C7FB2 100%);
  --hover-color: #1E4D6B;
  --background-color: #F7FBFE;
  --text-color: #3A4D5C;
  --border-color: rgba(45, 92, 127, 0.14);
  --shadow-color: rgba(26, 58, 82, 0.09);
  --highlight-color: #B3D0D9;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.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;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Pattern BG - diamond grid */
.pattern-bg {
  background-image:
    linear-gradient(45deg, rgba(45,92,127,0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(45,92,127,0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(45,92,127,0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(45,92,127,0.04) 75%);
  background-size: 30px 30px;
  background-position: 0 0, 0 15px, 15px -15px, -15px 0;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

header {
  background: var(--primary-color);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px var(--shadow-color);
}

/* Header decorations - hidden on mobile */
header::before,
header::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  opacity: 0.12;
  display: none;
}
@media (min-width: 768px) {
  header::before {
    display: block;
    right: 80px;
    width: 70px; height: 70px;
    background: var(--highlight-color);
  }
  header::after {
    display: block;
    right: 160px;
    width: 40px; height: 40px;
    background: white;
  }
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  width: fit-content;
}

.logo-icon {
  width: 34px; height: 34px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .product-section { grid-template-columns: 1fr 1fr; }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.product-image-container {
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--shadow-color);
  background: white;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  text-align: center;
}
.product-image-container picture { display: flex; justify-content: center; }
.product-image {
  width: 55%;
  height: auto;
  transition: transform 0.3s ease;
}
.product-image:hover { transform: scale(1.04); }

.guarantee-block {
  background: var(--secondary-color);
  color: white;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow-color);
  border-left: 4px solid var(--highlight-color);
}
.guarantee-block h3 {
  font-family: var(--main-font);
  color: white;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.guarantee-block p { font-size: 0.83rem; line-height: 1.5; opacity: 0.93; }

.features-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 7px var(--shadow-color);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.feature-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}
.feature-item .feature-icon {
  width: 38px; height: 38px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: white;
}
.feature-item span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--main-font);
  line-height: 1.2;
}

.cart-button {
  background: var(--primary-color);
  color: white;
  padding: 0.78rem 1.6rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 8px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 0.04em;
}
.cart-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.85rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.75rem 0;
  font-family: var(--main-font);
}
.product-description {
  font-size: 0.87rem;
  margin-bottom: 1rem;
  line-height: 1.65;
  color: var(--text-color);
}
.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 1rem 0;
  text-align: center;
  font-size: 0.92rem;
  font-family: var(--main-font);
  letter-spacing: 0.03em;
  border: 1px solid rgba(45,92,127,0.18);
}

.features-list {
  list-style: none;
  margin: 1rem 0;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: white;
  border-radius: 7px;
  box-shadow: 0 2px 6px var(--shadow-color);
  transition: all 0.3s ease;
  border-left: 3px solid var(--accent-color);
  font-size: 0.86rem;
}
.features-list li:hover {
  transform: translateX(3px);
}
.feature-check {
  width: 18px; height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.75rem;
}

/* Full-width promo block */
.promo-block {
  background: var(--dark-color);
  color: white;
  padding: 2.2rem 1.5rem;
}
.promo-block h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.65rem;
  margin-bottom: 1.6rem;
  letter-spacing: 0.03em;
}
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .promo-grid { grid-template-columns: repeat(4, 1fr); }
}
.promo-card {
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 1.1rem;
  text-align: center;
  border: 1px solid rgba(179,208,217,0.2);
  transition: transform 0.3s ease;
}
.promo-card:hover { transform: translateY(-2px); }
.promo-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.55rem;
  display: block;
}
.promo-card h3 {
  font-family: var(--main-font);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--highlight-color);
  letter-spacing: 0.02em;
}
.promo-card p { font-size: 0.81rem; opacity: 0.88; line-height: 1.5; }

/* Testimonials */
.testimonials {
  background: var(--dark-color);
  padding: 2.2rem 1.5rem;
}
.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 1.7rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.03em;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
.testimonial {
  background: rgba(255,255,255,0.08);
  padding: 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.3s ease;
}
.testimonial:hover { transform: translateY(-2px); }
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.testimonial-icon {
  width: 38px; height: 38px;
  background: var(--highlight-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark-color);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--main-font);
  color: var(--highlight-color);
  letter-spacing: 0.02em;
}
.testimonial p { line-height: 1.55; font-size: 0.86rem; color: rgba(255,255,255,0.88); }

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 1.7rem 1.5rem;
}
.footer-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-nav { justify-content: flex-end; }
}
.footer-nav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.84rem;
}
.footer-nav a:hover { color: var(--highlight-color); }
.footer-credit {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  max-width: 1080px;
  margin: 0 auto;
}
.footer-credit a { color: var(--highlight-color); text-decoration: none; }