* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1f2a24;
  background: #f7f4ef;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  cursor: pointer;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  background: #f1ece4;
  border-bottom: 1px solid #d7d1c6;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.ad-label {
  font-size: 0.85rem;
  color: #4b5a52;
  border: 1px solid #c9c1b3;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fdfbf8;
}

.magazine-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 6vw 24px;
  background: #f7f4ef;
}

.magazine-hero .hero-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 700;
  max-width: 720px;
}

.hero-subtitle {
  max-width: 640px;
  font-size: 1.1rem;
  color: #3a4a42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  background: #2f4b3c;
  color: #f7f4ef;
}

.secondary-btn {
  background: #efe6d9;
  color: #2f4b3c;
  border: 1px solid #c7bcae;
}

.ghost-btn {
  background: transparent;
  color: #2f4b3c;
  border: 1px dashed #2f4b3c;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(31, 42, 36, 0.12);
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-image {
  flex: 1 1 320px;
  background: #d9d3c7;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 360px;
}

.hero-aside {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 12px 0;
}

.hero-aside-card {
  background: #fdfbf8;
  border: 1px solid #d9d3c7;
  padding: 16px;
  border-radius: 12px;
}

.split-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 36px 6vw;
  align-items: center;
}

.split-section.reverse {
  flex-direction: row-reverse;
  background: #efe6d9;
}

.split-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-image {
  flex: 1 1 320px;
  background: #d9d3c7;
  border-radius: 14px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 300px;
}

.image-frame {
  background: #d9d3c7;
  border-radius: 14px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 320px;
}

.magazine-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 36px 6vw;
  background: #f7f4ef;
}

.column {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.column.card {
  background: #fdfbf8;
  border: 1px solid #d7d1c6;
  padding: 18px;
  border-radius: 14px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-section {
  padding: 0 6vw 24px;
}

.service-card {
  flex: 1 1 240px;
  background: #fdfbf8;
  border: 1px solid #d7d1c6;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 170px;
}

.service-card .service-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: #2f4b3c;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 6vw;
  background: #2f4b3c;
  color: #f7f4ef;
  align-items: center;
}

.cta-strip a {
  color: #2f4b3c;
  background: #f7f4ef;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.form-section {
  padding: 36px 6vw;
  background: #fdfbf8;
}

.form-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.form-panel {
  flex: 1 1 320px;
  background: #f7f4ef;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #d7d1c6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

select,
input,
textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #c7bcae;
  font-size: 1rem;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #f7f4ef;
  border: 1px solid #c7bcae;
  padding: 10px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 18px rgba(31, 42, 36, 0.15);
  z-index: 30;
}

.sticky-cta a {
  background: #2f4b3c;
  color: #f7f4ef;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.footer {
  margin-top: auto;
  padding: 32px 6vw;
  background: #efe6d9;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2a24;
  color: #f7f4ef;
  padding: 14px 6vw;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.cookie-accept {
  background: #f7f4ef;
  color: #1f2a24;
}

.cookie-reject {
  background: transparent;
  color: #f7f4ef;
  border: 1px solid #f7f4ef;
}

.page-hero {
  padding: 32px 6vw;
  background: #f7f4ef;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.simple-section {
  padding: 24px 6vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-card {
  flex: 1 1 240px;
  background: #fdfbf8;
  border: 1px solid #d7d1c6;
  padding: 16px;
  border-radius: 12px;
}

.bg-lesson {
  background-image: url("https://images.unsplash.com/photo-1496307042754-b4aa456c4a2d?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f7f4ef;
}

.bg-lesson .overlay {
  background: rgba(31, 42, 36, 0.6);
  padding: 36px 6vw;
}

.bg-notes {
  background-image: url("https://images.unsplash.com/photo-1455390582262-044cdead277a?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.bg-notes .overlay {
  background: rgba(247, 244, 239, 0.9);
  padding: 32px 6vw;
}

@media (max-width: 860px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta {
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }
}
