/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f8f9fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: #0f4c81;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #0a3a66;
}

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

ul {
  list-style: none;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f4c81;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.logo:hover {
  color: #0a3a66;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #0f4c81;
  border-bottom-color: #0f4c81;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn--primary {
  background: #0f4c81;
  color: #fff;
}

.btn--primary:hover {
  background: #0a3a66;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,76,129,0.3);
}

.btn--full {
  width: 100%;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #0f4c81 0%, #1a6fa0 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 36px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero .btn--primary {
  background: #fff;
  color: #0f4c81;
}

.hero .btn--primary:hover {
  background: #f0f4f8;
  color: #0a3a66;
}

/* === SECTION TITLE === */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: #1a1a2e;
}

/* === FEATURES === */
.features {
  padding: 80px 0;
  background: #fff;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* === STATS === */
.stats {
  background: #1a1a2e;
  color: #fff;
  padding: 60px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 1rem;
  opacity: 0.8;
}

/* === CTA === */
.cta {
  padding: 80px 0;
  text-align: center;
  background: #fff;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 1.05rem;
}

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, #0f4c81, #1a6fa0);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero__sub {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto;
}

/* === CONTENT SECTION === */
.content-section {
  padding: 60px 0;
  background: #fff;
}

.content-section__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.content-text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 30px 0 14px;
  color: #1a1a2e;
}

.content-text h2:first-child {
  margin-top: 0;
}

.content-text p {
  margin-bottom: 16px;
  color: #444;
  line-height: 1.8;
}

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  border: 1px solid #eee;
}

.sidebar-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.sidebar-card__big {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f4c81;
}

/* === PRODUCTS === */
.products-list {
  padding: 60px 0;
  background: #fff;
}

.product-category {
  margin-bottom: 60px;
}

.product-category:last-of-type {
  margin-bottom: 0;
}

.product-category h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.product-category > p {
  color: #555;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f4c81;
}

.product-card p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-card__price {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1.1rem;
}

.cta-box {
  text-align: center;
  background: #f0f4f8;
  border-radius: 12px;
  padding: 50px 30px;
  margin-top: 60px;
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box p {
  margin-bottom: 24px;
  color: #555;
}

/* === TESTIMONIALS === */
.testimonials-list {
  padding: 60px 0;
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-2px);
}

.testimonial-card__stars {
  color: #f4a261;
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-card__author strong {
  display: block;
  color: #1a1a2e;
  font-size: 0.95rem;
}

.testimonial-card__author span {
  font-size: 0.85rem;
  color: #888;
}

/* === FAQ === */
.faq-list {
  padding: 60px 0;
  background: #fff;
}

.faq-list__inner {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 24px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item__question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-item__answer {
  color: #555;
  line-height: 1.7;
}

/* === PAYMENT POLICY === */
.policy-content {
  max-width: 850px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: #1a1a2e;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

.policy-content ul {
  margin: 10px 0 20px 24px;
  list-style: disc;
}

.policy-content ul li {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.7;
}

/* === CONTACTS === */
.contact-section {
  padding: 60px 0;
  background: #fff;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info__item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f4c81;
  margin-bottom: 6px;
}

.contact-info__item p {
  color: #555;
  line-height: 1.6;
}

.contact-info__item a {
  font-weight: 500;
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0f4c81;
  box-shadow: 0 0 0 3px rgba(15,76,129,0.1);
}

/* === FOOTER === */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 30px;
}

.footer__col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer__col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

.footer__col a {
  display: block;
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #2a2a3e;
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: #777;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .features__grid,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .content-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .features__grid,
  .stats__grid,
  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta h2 {
    font-size: 1.5rem;
  }
}