/* Production integration: common PECHAT61 shell and approved page behavior. */

:root {
  --ink: #171a1f;
  --paper: #f8f6ee;
  --lime: #ddf34a;
  --coral: #ff725e;
  --white: #fff;
  --yellow: #ffd400;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  display: block;
  height: auto;
  padding: 0;
}

.site-header .brand,
.site-header .brand:hover,
.site-header .brand:focus-visible {
  color: var(--ink);
}

#types,
#cost,
#steps,
#calc,
#contacts {
  scroll-margin-top: 104px;
}

.btn-coral {
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--white);
}

.btn-lime {
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
}

.hero-action span {
  max-width: 285px;
  color: #aeb0ac;
  font-size: 13px;
  line-height: 1.45;
}

.art img,
.stage img {
  opacity: .65;
  transition: opacity .18s ease, transform .24s ease, filter .24s ease;
}

.stage[data-variant="0"] img { transform: translateX(0) rotate(0); }
.stage[data-variant="1"] img { transform: scale(.96) rotate(-1deg); filter: hue-rotate(8deg); }
.stage[data-variant="2"] img { transform: scale(1.025) translateX(1.5%); filter: saturate(.78); }
.stage[data-variant="3"] img { transform: scale(.96) translateX(-1.5%); filter: contrast(.92); }
.stage[data-variant="4"] img { transform: scale(1.035) rotate(1deg); filter: saturate(.9); }
.stage[data-variant="5"] img { transform: scale(.93); filter: grayscale(.2) contrast(.95); }

.type-tab {
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.type-tab:focus-visible,
.btn:focus-visible,
.faq summary:focus-visible,
form input:focus-visible,
form select:focus-visible,
.upload:focus-within {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.head-single {
  display: block;
}

.section-cta {
  margin-top: 28px;
}

.cost-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
}

.cost-action p {
  max-width: 720px;
  margin: 0;
  color: #b9bbb7;
  line-height: 1.5;
}

.cost-action .btn { flex: 0 0 auto; }

.faq details[open] summary {
  color: var(--coral);
}

.faq summary {
  cursor: pointer;
}

.faqform form .consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  margin: 16px 0;
  color: #b9bbb7;
  font-weight: 400;
  line-height: 1.4;
}

.faqform form .consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--lime);
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--lime);
  font-size: 12px;
  line-height: 1.4;
}

.footer {
  display: block;
  padding: 58px 0 24px;
  background: var(--ink);
  color: var(--white);
}

.footer .wrap {
  display: block;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.footer .footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 35px;
  border-bottom: 1px solid #555;
}

.footer-logo {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.footer-logo span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font: 800 21px Manrope, Inter, sans-serif;
}

.footer-logo b { font: 800 22px Manrope, Inter, sans-serif; }
.footer-logo small { color: #999; font: 400 11px Inter, sans-serif; }

.footer .footer-top > p {
  margin: 0;
  color: #aaa;
  font: 400 14px/1.45 Inter, sans-serif;
}

.footer-cta {
  padding: 16px 22px;
  background: var(--yellow);
  color: var(--ink);
  font: 700 14px Manrope, Inter, sans-serif;
  text-decoration: none;
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  padding: 42px 0;
}

.footer .footer-grid h3 {
  margin: 0 0 17px;
  color: var(--white);
  font: 700 12px Manrope, Inter, sans-serif;
  text-transform: uppercase;
}

.footer .footer-grid a,
.footer .footer-grid span {
  display: block;
  margin: 9px 0;
  color: #aaa;
  font: 400 12px/1.4 Inter, sans-serif;
  text-decoration: none;
}

.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #555;
  color: #777;
  font: 600 9px Inter, sans-serif;
  letter-spacing: .05em;
}

@media (max-width: 1100px) {
  .footer .footer-top { grid-template-columns: 1fr auto; }
  .footer .footer-top > p { grid-column: 1 / -1; }
  .footer .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .hero-action {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-action .btn,
  .cost-action .btn,
  .section-cta {
    width: 100%;
    justify-content: center;
  }

  .cost-action {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header { display: block; padding: 0; }
  .footer .wrap { width: calc(100% - 32px); }
  .footer .footer-top { grid-template-columns: 1fr; }
  .footer-cta { justify-self: start; }
  .footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .footer-bottom { display: block; }
  .footer .footer-bottom span { display: block; margin: 7px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
