/* Inner pages */

body.page { background: var(--cream); }

body.page .header .header__inner {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(26, 14, 14, 0.08);
  box-shadow: var(--shadow-soft);
}

body.page .nav a { color: var(--text-muted); }
body.page .nav a:hover,
body.page .nav a.active { color: var(--accent); }
body.page .header__tel { color: var(--green-dark); }
body.page .burger span { background: var(--green-dark); }

.page-hero {
  padding: calc(var(--header-h) + 48px) 0 64px;
  background: var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 720px;
}

.page-hero p {
  margin-top: 20px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  line-height: 1.7;
}

.page-content {
  padding: 80px 0;
}

.page-content--white { background: var(--white); }
.page-content--cream { background: var(--cream); }
.page-content--red { background: var(--green-olive); color: var(--white); }

.content-block {
  max-width: 820px;
  margin-bottom: 48px;
}

.content-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-content--red .content-block h2 { color: var(--white); }

.content-block p,
.content-block li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.page-content--red .content-block p { color: rgba(255, 255, 255, 0.85); }

.content-block ul { padding-left: 20px; }
.content-block li { list-style: disc; margin-bottom: 8px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.two-col__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid rgba(255, 92, 0, 0.3);
}

.timeline__item {
  position: relative;
  padding-bottom: 36px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cream), 0 0 16px var(--accent-glow);
}

.timeline__year {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline__item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Equipment cards */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.equip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 14, 14, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 14, 14, 0.1), 0 0 32px rgba(255, 92, 0, 0.06);
}

.equip-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.equip-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.equip-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFE8DC 0%, var(--white) 100%);
  border-color: rgba(255, 92, 0, 0.15);
}

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.principle {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.principle__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #FF7030 0%, var(--accent) 100%);
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: var(--shadow-glow);
}

.principle p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Conditions tags */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tags-list span {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid rgba(26, 14, 14, 0.08);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Stats inline */
.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat-box__num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 40px var(--accent-glow);
}

.stat-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
}

.contact-info h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.contact-info a,
.contact-info p {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-info a:hover { color: var(--accent); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
}

.contact-form-wrap h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--green-dark);
}

.contact-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-wrap input {
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid rgba(26, 14, 14, 0.12);
  border-radius: var(--radius-sm);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.15);
}

/* Blog empty */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.empty-state p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Process steps horizontal */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .two-col,
  .equip-grid,
  .principles,
  .stats-inline,
  .contact-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .equip-card--featured { grid-column: span 1; }
}

@media (max-width: 768px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
