/* Компоненты: карточки, шаги, цифры, формы, FAQ, плашки. */

/* ---------- Первый экран внутренних страниц ---------- */
.page-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 5vw, 72px); }
.page-hero--navy { background: var(--c-blue-zodiac); }
.page-hero--blue { background: var(--c-biscay-2); }
.page-hero .h1 { margin: 20px 0 0; max-width: 20ch; }
.page-hero .lead { margin-top: 20px; max-width: 62ch; color: var(--c-white); opacity: .92; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font: 400 13px/1.5 var(--font-body); color: var(--c-link-water); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .7; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--c-white); text-decoration: underline; }

/* ---------- Карточка услуги ---------- */
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px;
  background: var(--c-white); border: 1px solid var(--c-botticelli); transition: border-color .2s, box-shadow .2s;
}
.svc-card:hover { border-color: var(--c-ship-cove); box-shadow: 0 10px 30px rgba(15, 42, 71, .08); }
.svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.svc-card__icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 51px; height: 51px; border: 1px solid var(--c-botticelli); border-radius: 50%; color: var(--c-blue-zodiac);
}
.svc-card__icon .icon { width: 28px; height: 26px; }
.svc-card__icon::after { content: ''; position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-sushi); }
.svc-card__pos { font: 400 11.7px/1.5 var(--font-mono); letter-spacing: 1px; color: var(--text-muted); }
.svc-card__title { font: 700 22px/1.15 var(--font-display); }
.svc-card__title a { color: inherit; text-decoration: none; }
.stretched::after { content: ''; position: absolute; inset: 0; }
.svc-card__text { font-size: 14px; line-height: 1.55; color: var(--text-muted); flex: 1; }
.svc-card__price {
  display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--c-casper);
  font: 700 16px/1.3 var(--font-display);
}
.svc-card__arrow { width: 24px; height: 24px; margin-left: auto; transition: transform .2s; }
.svc-card:hover .svc-card__arrow { transform: translateX(4px); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps__item { position: relative; padding: 28px 24px 0 0; border-top: 3px solid var(--c-blue-zodiac); }
.steps__item::before { content: ''; position: absolute; top: -8px; left: 0; width: 12px; height: 12px; background: var(--c-sushi); }
.steps__num { display: block; font: 800 clamp(40px, 3.4vw, 56px)/1 var(--font-display); color: var(--c-blue-zodiac); }
.steps__title { margin-top: 14px; font: 700 18px/1.2 var(--font-display); }
.steps__text { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.steps__time { margin-top: 8px; font: 400 10.5px/1.5 var(--font-mono); color: var(--c-st-tropaz); }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-left: 3px solid var(--c-blue-zodiac); gap: 28px; padding-left: 24px; }
  .steps__item { border-top: 0; padding: 0; }
  .steps__item::before { left: -32px; top: 4px; }
  .steps__num { font-size: 36px; }
}

/* ---------- Цифры ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 40px; }
.facts__item { padding: 0 24px; border-left: 1px solid var(--c-wedgewood); }
.facts__item:first-child { padding-left: 0; border-left: 0; }
.facts__value { font: 800 clamp(44px, 4.6vw, 88px)/1 var(--font-display); color: var(--c-white); }
.facts__value--accent { color: var(--c-sushi); }
.facts__label { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--c-link-water); max-width: 28ch; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
}

.license {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--c-wedgewood);
  font: 400 12px/1.5 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-white);
}
.license__icon { width: 28px; height: 28px; color: var(--c-sushi); }
.license__text { flex: 1; }
@media (max-width: 767px) { .license { flex-wrap: wrap; } .license__text { flex-basis: calc(100% - 50px); } }

/* ---------- Клиенты и цитаты ---------- */
.clients { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--c-botticelli); background: var(--c-white); margin-bottom: 24px; }
.clients li {
  display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 16px; text-align: center;
  font: 700 16px/1.25 var(--font-display); color: var(--c-ship-cove); border-left: 1px solid var(--c-botticelli);
}
.clients li:first-child { border-left: 0; }
@media (max-width: 900px) {
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients li { border-left: 0; border-bottom: 1px solid var(--c-botticelli); min-height: 88px; }
  .clients li:nth-child(even) { border-left: 1px solid var(--c-botticelli); }
}
.quote { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--c-blue-zodiac); color: var(--c-white); }
.quote__mark { width: 36px; height: 28px; color: var(--c-sushi); }
.quote blockquote { font: 400 16px/1.6 var(--font-mono); }
.quote figcaption { font: 400 11px/1.5 var(--font-mono); color: var(--c-link-water); }

/* ---------- Ёмкости ---------- */
.cap-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--c-white);
  border: 1px solid var(--c-casper);
}
.cap-card__drawing { display: flex; align-items: flex-end; justify-content: flex-start; height: 150px; margin-bottom: 12px; }
.cap-card__drawing img { max-height: 150px; width: auto; }
.cap-card__size { font: 400 11px/1.4 var(--font-mono); color: var(--c-st-tropaz); }
.cap-card__title { font: 700 22px/1.2 var(--font-display); display: flex; flex-direction: column; }
.cap-card__volume { font: 800 30px/1.15 var(--font-display); }
.cap-card__fits { font: 400 12px/1.5 var(--font-mono); color: var(--text-muted); }
.cap-card__note { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.cap-card__price { font: 700 16px/1.4 var(--font-display); margin: 4px 0 8px; }
.cap-card__price .muted { font: 400 13px var(--font-body); }
.cap-card .more-link { align-self: flex-start; margin-top: auto; }

/* ---------- Список цен ---------- */
.price-list { border-top: 1px solid var(--c-casper); }
.price-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-casper); }
.price-list dt { font-size: 16px; }
.price-list dd { font: 700 16px/1.4 var(--font-display); white-space: nowrap; text-align: right; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-casper); }
.faq__item { border-bottom: 1px solid var(--c-casper); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0;
  font: 700 18px/1.3 var(--font-display); cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { position: relative; width: 16px; height: 16px; flex: none; }
.faq__sign::before, .faq__sign::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 3px; background: var(--c-st-tropaz); transition: transform .2s; }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::after { transform: rotate(0); }
.faq__item p { padding: 0 0 22px; max-width: 70ch; color: var(--text-muted); font-size: 15px; }

/* ---------- Плашка с призывом ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 3vw, 48px) clamp(20px, 2vw, 32px); background: var(--c-blue-zodiac);
}
.cta-band__title { font: 800 clamp(22px, 1rem + 1.2vw, 34px)/1.15 var(--font-display); max-width: 26ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-band__phone {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 12px; border: 1px solid var(--c-link-water);
  font: 400 20px/1 var(--font-mono); color: var(--c-white); text-decoration: none; white-space: nowrap;
}
.cta-band__phone:hover { background: var(--c-white); color: var(--c-blue-zodiac); }

/* ---------- Техника, вакансии, теги ---------- */
.fleet-card { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-casper); }
.fleet-card__pic {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; background: var(--c-biscay);
  color: var(--c-link-water); overflow: hidden;
}
.fleet-card__pic img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.25); }
.fleet-card__pic .ph { background: transparent; }
.fleet-card__body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.spec { display: grid; gap: 8px; }
.spec > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.spec dt { font: 400 12px/1.6 var(--font-mono); color: var(--text-muted); }
.spec dd { font-size: 15px; line-height: 1.5; }
@media (max-width: 520px) { .spec > div { grid-template-columns: 1fr; gap: 0; } }

.vac-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--c-white); border: 1px solid var(--c-casper); }
.vac-card__salary { font: 700 22px/1.2 var(--font-display); }
.vac-card__text { color: var(--text-muted); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tags li { padding: 4px 10px; border: 1px solid var(--c-casper); font: 400 12px/1.5 var(--font-mono); color: var(--text-muted); }

/* ---------- Формы ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__title { font: 800 22px/1.2 var(--font-display); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font: 400 11px/1.4 var(--font-mono); letter-spacing: 1.4px; text-transform: uppercase; }
.field .req { color: var(--c-sushi); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--c-casper); border-radius: 0;
  background: var(--c-catskill); font-size: 16px; line-height: 1.3; color: var(--c-blue-zodiac);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-nepal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-st-tropaz); box-shadow: 0 0 0 3px rgba(40, 100, 160, .25); }
.field.is-invalid input, .field.is-invalid select { border-color: #D93B3B; }
.field__error { font-size: 13px; line-height: 1.4; color: #B42318; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--c-sushi); flex: none; }
.field--check label { font: 400 13px/1.45 var(--font-body); letter-spacing: 0; text-transform: none; flex: 1; }
.field--check .field__error { flex-basis: 100%; }
.form-status { padding: 14px 16px; font-size: 15px; line-height: 1.45; border-left: 4px solid var(--c-sushi); background: rgba(124, 196, 68, .12); }
.form-status.is-error { border-left-color: #D93B3B; background: rgba(217, 59, 59, .1); }
.form--dark { padding: clamp(20px, 2vw, 28px); background: var(--c-blue-zodiac); color: var(--c-white); }
.form--dark .field > label { color: var(--c-link-water); }
.form--dark .field input, .form--dark .field select {
  background: var(--c-biscay-2); border-color: var(--c-wedgewood); color: var(--c-white);
}
.form--dark .field input::placeholder { color: var(--c-rock-blue); }
.form--dark .field__error { color: #FFB4A8; }
.form--dark .form-status { color: var(--c-white); }
.form--dark a { color: var(--c-link-water); }
.form--light .field > label { color: var(--c-blue-zodiac); }
.form--card { padding: clamp(20px, 2.5vw, 40px); background: var(--c-white); border: 1px solid var(--c-casper); }

/* ---------- Секция «Заявка за минуту» ---------- */
.lead-section { background: var(--c-st-tropaz); padding: var(--section-y) 0; }
.lead-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.lead-section__title { font-size: clamp(36px, 2rem + 2.4vw, 64px); }
.lead-section__lead { margin: 20px 0 24px; max-width: 46ch; font-size: 15px; color: var(--c-white); }
.lead-section .btn--outline { border-color: var(--c-white); }
@media (max-width: 900px) { .lead-section__inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Карта ---------- */
.region-map { margin: 0; }
.region-map img { width: 100%; height: auto; }

/* ---------- Таблица документов ---------- */
.doc-table { width: 100%; border-collapse: collapse; background: var(--c-white); }
.doc-table th { padding: 18px 20px; text-align: left; font: 400 12px/1.4 var(--font-mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); border-bottom: 2px solid var(--c-blue-zodiac); }
.doc-table td { padding: 18px 20px; border-bottom: 1px solid var(--c-botticelli); font-size: 16px; vertical-align: middle; }
.doc-table td:last-child { text-align: right; }
@media (max-width: 767px) {
  .doc-table thead { display: none; }
  .doc-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px; border-bottom: 1px solid var(--c-botticelli); }
  .doc-table td { padding: 0; border: 0; }
  .doc-table td:first-child { grid-column: 1 / -1; }
  .doc-table td:last-child { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
}

/* ---------- Текст статей и SEO-блоков ---------- */
.prose { font-size: 16px; line-height: 1.7; max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 800 clamp(22px, 1rem + 1vw, 30px)/1.2 var(--font-display); margin-top: 1.6em; }
.prose h3 { font: 700 19px/1.3 var(--font-display); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--c-sushi); }
.prose a { color: var(--c-st-tropaz); }

.more-box { background: var(--c-white); border: 1px solid var(--c-botticelli); }
.more-box > summary { display: flex; align-items: center; gap: 12px; padding: 24px; font: 700 17px/1.3 var(--font-display); cursor: pointer; list-style: none; }
.more-box > summary::-webkit-details-marker { display: none; }
.more-box > summary::before { content: '▶'; font-size: 11px; transition: transform .2s; }
.more-box[open] > summary::before { transform: rotate(90deg); }
.more-box .prose { padding: 0 24px 28px; }
