:root {
  --primary-color: #2D5C7F;
  --secondary-color: #3A7AA8;
  --accent-color: #1D2A3C;
  --light-color: #E8F2F9;
  --dark-color: #1A3548;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #3A7AA8 100%);
  --hover-color: #245070;
  --background-color: #F5F9FC;
  --text-color: #2C3E50;
  --border-color: rgba(45, 92, 127, 0.18);
  --divider-color: rgba(45, 92, 127, 0.09);
  --shadow-color: rgba(29, 42, 60, 0.11);
  --highlight-color: #F2D57F;
  --main-font: 'Montserrat', 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 */
.pattern-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(45, 92, 127, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(58, 122, 168, 0.06) 0%, transparent 45%),
    repeating-linear-gradient(
      120deg,
      transparent,
      transparent 40px,
      rgba(45, 92, 127, 0.04) 40px,
      rgba(45, 92, 127, 0.04) 41px
    ),
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 40px,
      rgba(45, 92, 127, 0.03) 40px,
      rgba(45, 92, 127, 0.03) 41px
    );
}

/* HEADER */
header {
  background: var(--gradient-primary);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.header-deco-1 {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translateY(-50%);
  display: none;
}
.header-deco-2 {
  position: absolute;
  top: 50%;
  right: 14%;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  transform: translateY(-50%) rotate(30deg);
  display: none;
}
.header-deco-3 {
  position: absolute;
  top: 20%;
  right: 5%;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  transform: rotate(15deg);
  display: none;
}
@media (min-width: 768px) {
  .header-deco-1, .header-deco-2, .header-deco-3 { display: block; }
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  letter-spacing: 0.06em;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* MAIN */
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.2rem;
}

.product-image-container { position: relative; }

.product-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px var(--shadow-color);
  display: block;
  transition: transform 0.3s ease;
}
.product-image:hover { transform: translateY(-3px); }

.badge-price {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--highlight-color);
  color: var(--accent-color);
  padding: 5px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.78rem;
  font-family: var(--main-font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(242, 213, 127, 0.4);
}

.guarantee-block {
  background: var(--gradient-primary);
  color: white;
  padding: 1.3rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--shadow-color);
  position: relative;
  overflow: hidden;
}
.guarantee-block::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -4%;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.guarantee-block h3 {
  font-family: var(--main-font);
  color: white;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.guarantee-block p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
}

.features-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.6rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow-color);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.feature-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}
.feature-item span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--main-font);
  letter-spacing: 0.02em;
}

.cart-button {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 14px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.cart-button:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
}

/* PRODUCT RIGHT */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.8rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  line-height: 1.75;
  color: var(--text-color);
}
.product-description p + p { margin-top: 0.7rem; }

.highlight-text {
  background: var(--highlight-color);
  color: var(--accent-color);
  padding: 1.1rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 1.2rem 0;
  text-align: center;
  font-size: 0.96rem;
  font-family: var(--main-font);
  letter-spacing: 0.02em;
  border: 2px solid rgba(29, 42, 60, 0.12);
  box-shadow: 0 3px 10px rgba(242, 213, 127, 0.3);
}

.features-list {
  list-style: none;
  margin: 1.2rem 0;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  padding: 0.85rem 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-color);
  border-left: 3px solid var(--primary-color);
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}
.features-list li:hover { transform: translateX(3px); }

.feature-check {
  width: 20px;
  height: 20px;
  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.72rem;
}

/* MID BLOCK */
.mid-block {
  background: var(--dark-color);
  color: white;
  padding: 3rem 1.5rem;
}
.mid-block-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.mid-block h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.mid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 768px) {
  .mid-grid { grid-template-columns: repeat(4, 1fr); }
}
.mid-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.mid-card:hover { transform: translateY(-4px); }
.mid-card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.mid-card h3 {
  font-family: var(--main-font);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.mid-card p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
}

/* TESTIMONIALS */
.testimonials {
  background: #162433;
  color: white;
  padding: 3rem 1.5rem;
}
.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.7rem;
  font-weight: 700;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
.testimonial {
  background: rgba(255,255,255,0.07);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease;
}
.testimonial:hover { transform: translateY(-3px); }
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.testimonial-icon {
  width: 42px;
  height: 42px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--main-font);
}
.testimonial-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.testimonial p {
  line-height: 1.65;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.86);
}

/* FOOTER */
footer {
  background: var(--primary-color);
  color: white;
  padding: 2rem 1.5rem;
}
.footer-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
@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: 1rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-nav { justify-content: flex-end; }
}
.footer-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--light-color); }
.footer-credit {
  text-align: center;
  padding-top: 1.2rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  max-width: 1080px;
  margin: 0 auto;
}
.footer-credit a { color: var(--light-color); text-decoration: none; }