.text {
  padding: 0;
}

.main ul,
.main ol {
  padding-left: 1.2rem;
}

/* ── Home page sections ───────────────────────────────────────────────────── */
.home-about {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-6);
  align-items: start;
}

.home-about img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ── Images ───────────────────────────────────────────────────────────────── */
.centered-image {
  margin: var(--space-4) auto;
}

.hero-image {
  width: min(100%, 420px);
}

.img1 {
  width: min(100%, 500px);
  height: auto;
  margin: var(--space-4);
  display: inline-block;
}

/* ── Work hours table ─────────────────────────────────────────────────────── */
.wt {
  margin: var(--space-4) 0;
  font-size: 1rem;
  border-collapse: collapse;
}

.wt td {
  padding: 0.35rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

/* ── Price table ──────────────────────────────────────────────────────────── */
.price-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 580px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: var(--space-4) 0;
}

#prices {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

#prices td,
#prices th {
  border: 1px solid #b8cfe8;
  padding: 0.6rem 0.5rem;
  font-size: 0.9rem;
}

#prices th {
  background: var(--brand-700);
  color: #fff;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 2;
}

#prices tbody tr:nth-child(even) td {
  background: var(--brand-50);
}

#prices tbody tr:hover td {
  background: var(--brand-100);
  transition: background 0.1s;
}

.price-col-muted td {
  background: rgba(15, 46, 82, 0.03);
}

/* ── Misc links ───────────────────────────────────────────────────────────── */
.muted-link {
  text-decoration: none;
  font-style: italic;
}

/* ── Gallery ──────────────────────────────────────────────────────────────── */
.gallery-row {
  text-align: center;
  margin: var(--space-3) 0;
}

.contact-photo {
  width: min(100%, 550px);
  margin: var(--space-2);
  border-radius: var(--radius-sm);
}

/* ── Contact page ─────────────────────────────────────────────────────────── */
.contact-card-image {
  width: min(100%, 700px);
  margin: var(--space-3) auto;
  border-radius: var(--radius-sm);
}

.map-wrap {
  margin-top: var(--space-5);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ── Services page ────────────────────────────────────────────────────────── */
.services-docs {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

/* ── Accreditation table ──────────────────────────────────────────────────── */
.accred-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.accred-table td,
.accred-table th {
  border: 1px solid #b8cfe8;
  padding: 0.6rem 0.7rem;
  vertical-align: top;
  line-height: 1.5;
}

.accred-table thead th {
  background: var(--brand-700);
  color: #fff;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
}

.accred-table tbody tr:nth-child(even) td {
  background: var(--brand-50);
}

.accred-table tbody tr:hover td {
  background: var(--brand-100);
  transition: background 0.1s;
}

/* ── Steps list (cooperation/application) ─────────────────────────────────── */
.steps-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  counter-reset: step-counter;
}

.steps-list li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  counter-increment: step-counter;
  line-height: 1.6;
}

.steps-list li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: var(--brand-500);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Models list ──────────────────────────────────────────────────────────── */
.models-list {
  margin: var(--space-4) 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  counter-reset: model-counter;
}

.models-list li {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-soft);
  border-left: 3px solid var(--brand-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  counter-increment: model-counter;
  font-size: 0.95rem;
  line-height: 1.5;
}

.models-list li::before {
  content: counter(model-counter);
  color: var(--brand-500);
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 1.5rem;
  flex-shrink: 0;
  padding-top: 0.05rem;
}

/* ── Info notice box ──────────────────────────────────────────────────────── */
.info-box {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand-500);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

/* ── Docs download grid ───────────────────────────────────────────────────── */
.docs-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

.docs-grid .btn-download {
  justify-content: flex-start;
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
}

/* ── Requirements list ────────────────────────────────────────────────────── */
.requirements-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.requirements-list li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
}

.requirements-list li::before {
  content: "—";
  color: var(--brand-500);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FAQ accordion ────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--brand-500);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-700);
  cursor: pointer;
  list-style: none;
  gap: var(--space-3);
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand-500);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: var(--brand-50);
}

.faq-answer {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--text-main);
  line-height: 1.65;
  border-top: 1px solid var(--line);
}

.faq-answer p + p {
  margin-top: var(--space-3);
}

.faq-answer ul {
  padding-left: 1.4rem;
  margin: var(--space-2) 0;
}

.faq-answer li {
  margin-bottom: var(--space-1);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .home-about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .img1 {
    margin: var(--space-3) 0;
  }

  .steps-list li {
    flex-direction: column;
    gap: var(--space-2);
  }
}
