.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
  padding: 140px 0 60px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 161, 74, 0.15) 0%, transparent 50%),
    var(--cream);
  text-align: center;
}
.page-header .breadcrumb {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.page-header .breadcrumb a {
  color: var(--text-mute);
  text-decoration: none;
}
.page-header .breadcrumb a:hover { color: var(--gold-dark); }
.page-header h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}
.page-header h1 .gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .page-header h1 { font-size: 36px; }
}

/* ==================== TOC ==================== */
.toc-section {
  background: var(--cream-warm);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.toc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.toc-item {
  background: white;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.toc-item:hover {
  border-color: var(--gold);
  transform: translateX(2px);
  background: white;
}
.toc-item .ico { font-size: 20px; }
.toc-item .num {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 12px;
}
@media (max-width: 768px) {
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .toc-grid { grid-template-columns: 1fr; }
}

/* ==================== SERVICE SECTION ==================== */
.service-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.service-section:nth-child(even) { background: var(--cream-warm); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.service-meta {
  position: sticky;
  top: 100px;
}
.service-icon {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

/* SVG illustrations */
.service-illustration {
  margin-top: 32px;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 320px;
}
.service-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 968px) {
  .service-illustration { max-width: 100%; }
}
.service-icon.green { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.service-icon.blue { background: linear-gradient(135deg, var(--blue), #1976d2); }
.service-icon.purple { background: linear-gradient(135deg, var(--purple), #8e24aa); }
.service-icon.red { background: linear-gradient(135deg, var(--red), #e57373); }
.service-icon.dark { background: linear-gradient(135deg, var(--dark), var(--dark-soft)); }

.service-num {
  display: inline-block;
  background: rgba(201, 161, 74, 0.15);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.service-section h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.service-tagline {
  font-size: 18px;
  color: var(--gold-dark);
  font-weight: 600;
  font-style: italic;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  margin-top: 36px;
  font-weight: 800;
  color: var(--dark);
}
.service-content h3:first-child { margin-top: 0; }
.service-content p {
  color: var(--text-soft);
  margin-bottom: 16px;
  font-size: 16px;
}
.service-content strong { color: var(--dark); }

.howto-steps {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
  border: 1px solid var(--border);
}
.howto-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.howto-step:last-child { border-bottom: 0; }
.howto-step .n {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}
.howto-step .desc { color: var(--text-soft); font-size: 15px; }
.howto-step .desc strong { color: var(--dark); }

.example {
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: white;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.example::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}
.example .label {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.example h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 8px;
}
.example p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.tag {
  background: white;
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
}
.tag.gold { background: var(--gold); color: white; border-color: var(--gold); }
.tag.green { background: rgba(46, 125, 50, 0.1); color: var(--green); border-color: rgba(46, 125, 50, 0.3); }

@media (max-width: 968px) {
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-meta { position: static; }
  .service-section h2 { font-size: 28px; }
}

/* ==================== CTA ==================== */
.cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 161, 74, 0.2) 0%, transparent 60%),
    var(--dark);
  color: white;
}
.cta h2 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.1;
}
.cta p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-cta-primary {
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
}
.btn-cta-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-cta-secondary:hover { border-color: white; transform: translateY(-2px); }
@media (max-width: 768px) {
  .cta h2 { font-size: 36px; }
}

/* ==================== FOOTER ==================== */
footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 24px;
  font-size: 14px;
  text-align: center;
}
footer .footer-langs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
footer .footer-langs span {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { color: var(--gold-light); }

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--dark);
  color: var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 50;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--gold-dark); color: white; }
