/* ==========================================================================
  Майсакова Светлана — дефектолог. Детская тема, продающий дизайн.
   Только HTML, CSS, JS. Адаптивно, кросс-браузерно.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #2d3436;
  background: #fffbf5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #e17055; text-decoration: none; transition: color 0.2s; }
a:hover { color: #d63031; text-decoration: none; }
a:focus { outline: 3px solid #fdcb6e; outline-offset: 2px; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0 0 1rem; padding-left: 1.5rem; }
p { margin: 0 0 1rem; }

:root {
  --mint: #00b894;
  --mint-light: #55efc4;
  --coral: #ff7675;
  --coral-light: #ffeaa7;
  --sun: #fdcb6e;
  --sky: #74b9ff;
  --lavender: #a29bfe;
  --cream: #fffbf5;
  --cream-dark: #f8f0e3;
  --text: #2d3436;
  --text-soft: #636e72;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow: 0 8px 32px rgba(45, 52, 54, 0.08);
  --shadow-hover: 0 12px 40px rgba(45, 52, 54, 0.12);
  --transition: 0.25s ease;
}

.page { min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--mint);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--mint);
  line-height: 1.05;
}
.site-logo .site-logo-name { white-space: nowrap; }
.site-logo span { color: var(--coral); }
.site-logo .site-logo-desc {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.site-nav { display: flex; align-items: center; gap: 0.5rem; }
.site-nav a {
  font-weight: 700;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.site-nav a:hover { background: var(--cream-dark); color: var(--mint); }
.site-nav a.active { background: var(--mint-light); color: var(--mint); }
.menu-toggle {
  display: none;
  background: var(--cream-dark);
  border: none;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
}
.menu-toggle:focus { outline: 3px solid var(--sun); }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-hover);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a { padding: 1rem; width: 100%; text-align: center; border-bottom: 1px solid var(--cream-dark); }
  .site-nav a:last-child { border-bottom: none; }
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #e8f8f5 0%, #fff5e6 50%, #fce8ec 100%);
  padding: 3.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--mint-light);
  border-radius: 50%;
  opacity: 0.5;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: var(--coral-light);
  border-radius: 50%;
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-badge {
  display: inline-block;
  background: var(--sun);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.hero h1 .highlight { color: var(--mint); }
.hero .lead {
  margin: 0 auto 0.5rem;
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 42rem;
  font-weight: 600;
  line-height: 1.5;
}
.hero .hero-tagline {
  margin: 0 auto 1.35rem;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 900;
  color: var(--mint);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.hero .btn { margin: 0 0.25rem; }
.hero .hero-illustration {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero .hero-illustration svg { width: 56px; height: 56px; opacity: 0.9; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
  font-family: inherit;
}
.btn:focus { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--mint) 0%, #00a085 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0, 184, 148, 0.45); text-decoration: none; color: #fff; }
.btn-coral {
  background: linear-gradient(135deg, var(--coral) 0%, #e17055 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 118, 117, 0.4);
}
.btn-coral:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.btn-free {
  background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.4);
}
.btn-free:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.btn-outline {
  background: var(--white);
  color: var(--mint);
  border: 3px solid var(--mint);
}
.btn-outline:hover { background: var(--mint-light); color: var(--mint); text-decoration: none; transform: translateY(-2px); }

/* ========== SECTIONS ========== */
.section { padding: 3rem 0; }
.section-alt { background: var(--cream-dark); }
.section-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--text);
  text-align: center;
}
.section-title .dot { color: var(--coral); }
.section-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ========== CARDS ========== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  border-radius: var(--radius) var(--radius) 0 0;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--mint-light);
}
.card a { color: inherit; }
.card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.card .card-title { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 800; color: var(--text); line-height: 1.3; }
.card .card-desc { font-size: 0.95rem; color: var(--text-soft); margin: 0; line-height: 1.5; }
.card .card-meta {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mint);
  margin-top: 1rem;
}
.card .card-meta.free { color: #00b894; }
.card.card-coral::before { background: linear-gradient(90deg, var(--coral), var(--sun)); }
.card.card-sky::before { background: linear-gradient(90deg, var(--sky), var(--lavender)); }

/* ========== TRUST BLOCK ========== */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text);
}
.trust-item span { font-size: 2rem; }

/* ========== FOR WHOM ========== */
.for-whom { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.for-whom .card::before { height: 100%; width: 6px; right: auto; bottom: 0; border-radius: var(--radius) 0 0 var(--radius); }
.for-whom .card:nth-child(1)::before { background: var(--mint); }
.for-whom .card:nth-child(2)::before { background: var(--coral); }
.for-whom .card:nth-child(3)::before { background: var(--sky); }

/* ========== CATALOG ========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filters label { font-weight: 700; color: var(--text-soft); font-size: 0.9rem; }
.filters select {
  padding: 0.6rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  background: var(--white);
  color: var(--text);
}
.filters .btn { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.count { font-weight: 700; color: var(--text-soft); margin-left: auto; }

/* ========== PRODUCT PAGE ========== */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.breadcrumb a { color: var(--mint); }
.breadcrumb a:hover { color: var(--coral); }
.product-hero {
  background: linear-gradient(135deg, #e8f8f5 0%, #fff5e6 100%);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  border: 3px solid var(--mint-light);
  position: relative;
}
.product-hero .product-badge {
  display: inline-block;
  background: var(--sun);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.product-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 800; color: var(--text); }
.product-hero .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--mint);
}
.product-hero .price.free { color: #00b894; font-size: 1.5rem; }
.product-hero .product-themes { margin-top: 0.75rem; font-size: 0.9rem; color: var(--text-soft); font-weight: 600; }
.product-hero .hero-graphic {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
}
@media (max-width: 768px) { .product-hero .hero-graphic { display: none; } }

.product-section { margin-bottom: 2.5rem; }
.product-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-section h2 .icon { font-size: 1.2em; }
.what-you-get { list-style: none; padding: 0; margin: 0; }
.what-you-get li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text);
}
.what-you-get li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.benefit-box {
  background: linear-gradient(135deg, #e8f8f5 0%, #fff9e6 100%);
  border-left: 6px solid var(--mint);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}
.benefit-box strong { display: block; margin-bottom: 0.5rem; color: var(--mint); font-size: 1.05rem; }
.cta-box {
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2.5rem 0;
  border: 3px solid var(--mint-light);
}
.cta-box .btn { min-width: 260px; padding: 1.1rem 1.75rem; font-size: 1.15rem; }
.cta-box .cta-note { margin-top: 1rem; font-size: 0.9rem; color: var(--text-soft); }
.next-product-card {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  border: 2px dashed var(--mint);
}
.next-product-card p { margin: 0 0 0.5rem; font-size: 0.9rem; color: var(--text-soft); font-weight: 600; }
.next-product-card a { font-weight: 800; font-size: 1.05rem; color: var(--mint); }
.next-product-card a:hover { color: var(--coral); }
.review-placeholder {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid var(--sun);
  font-style: italic;
  color: var(--text-soft);
}
.review-placeholder strong { display: block; color: var(--text); font-style: normal; margin-bottom: 0.35rem; }
.guarantee { font-size: 0.95rem; color: var(--text-soft); font-weight: 600; margin-top: 1rem; }
.guarantee span { color: var(--mint); }

/* ========== ABOUT PAGE ========== */
.about-hero {
  background: linear-gradient(135deg, #e8f8f5 0%, #fce8ec 100%);
  padding: 2.5rem 0;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  text-align: center;
}
.about-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--coral-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: var(--mint);
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about-photo img.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.about-name { font-size: 1.75rem; font-weight: 800; color: var(--text); margin: 0 0 0.25rem; }
.about-role { font-size: 1.1rem; color: var(--mint); font-weight: 700; margin: 0; }
.about-bio { max-width: 42rem; margin: 0 auto; }
.about-bio p { font-size: 1.05rem; color: var(--text); }
.why-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.why-trust li {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  list-style: none;
  margin: 0;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.why-trust li span { font-size: 1.5rem; }

/* ========== CONTACTS ========== */
.contacts-intro { text-align: center; margin-bottom: 2rem; }
.contact-form {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--text); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--mint);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  border-radius: var(--radius);
}
.contact-info a { font-weight: 700; font-size: 1.1rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
  color: #dfe6e9;
  padding: 2.5rem 0;
  margin-top: auto;
}
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer a { color: #fff; font-weight: 700; }
.site-footer a:hover { color: var(--mint-light); }
.site-footer .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ========== UTILITY ========== */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }
