.nav .nav-apply {
  background: var(--orange);
  color: #fff;
  padding: 13px 17px;
  border-radius: 4px;
  font-size: 12px;
  transition: background-color 0.2s ease-out;
}

.nav .nav-apply:hover {
  background-color: #cd3a1c;
}

.header-call {
  display: none
}

.nav {
  gap: 22px
}

.hero-conversion {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  padding: 40px 0
}

.hero-kicker {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 22px
}

.hero-conversion h1 {
  font-size: clamp(40px, 4.5vw, 66px);
  letter-spacing: -3.5px
}

.hero-description {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 24px 0
}

.hero-apply {
  font-size: 19px;
  max-width: 430px;
  min-height: 68px;
  box-shadow: 0 9px 25px #ed542f25
}

.hero-photo {
  height: 230px;
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 5px
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-photo>span {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: #0009;
  color: #fff;
  padding: 5px 8px;
  font-size: 9px
}

.quick-panel {
  background: #fffefa;
  border: 2px solid var(--orange);
  border-radius: 12px;
  padding: 30px;
  align-self: start;
  box-shadow: 0 12px 45px #352c2010
}

.quick-panel .eyebrow {
  margin-bottom: 13px
}

.quick-panel h2 {
  font-size: 35px;
  line-height: 1.35
}

.quick-panel>p {
  font-size: 13px;
  color: var(--muted)
}

.quick-panel .field-label {
  margin-top: 16px
}

.apply-button {
  width: 100%;
  font-size: 19px;
  min-height: 62px;
  font-weight: 800;
  margin-top: 20px;
  box-shadow: 0 6px 15px #ed542f20
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 22px
}

.consent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--orange)
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 3px
}

.consent small {
  display: block;
  color: #777;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 4px
}

.price-note {
  font-size: 10px !important;
  line-height: 1.8;
  color: var(--muted);
  margin: 15px 0 0
}

.quick-phone {
  display: block;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 17px;
  font-size: 13px;
  font-weight: 600
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.form-feedback {
  font-size: 12px;
  line-height: 1.8;
  color: #ae3d20;
  margin: 13px 0 0
}

.form-feedback:empty {
  display: none
}

.optional-details {
  margin-top: 20px
}

.optional-details summary {
  font-size: 13px
}

.optional-details[open] {
  padding-bottom: 20px
}

.photo-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.photo-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px
}

.case-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 25px
}

.case-filters button, .admin-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px
}

.case-filters .active, .admin-tabs .active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.case-card {
  padding: 0;
  border: 1px solid var(--line);
  background: #fffefa;
  text-align: left;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s
}

.case-card:hover {
  transform: translateY(-4px)
}

.case-card>img, .video-cover, .case-placeholder {
  width: 100%;
  height: 230px;
  object-fit: cover
}

.case-card>div:not(.video-cover):not(.case-placeholder) {
  padding: 23px
}

.case-card small {
  color: var(--muted);
  font-size: 11px
}

.case-card h3 {
  font-size: 21px;
  margin: 13px 0 24px
}

.case-card div>span {
  font-size: 12px
}

.video-cover {
  position: relative;
  background: #252620
}

.video-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.video-cover>span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #000b;
  color: #fff;
  padding: 7px 10px
}

.case-placeholder {
  display: grid;
  place-items: center;
  color: #aaa;
  letter-spacing: 2px;
  background: #e9e8df;
  font-size: 12px
}

.empty-state {
  grid-column: 1/-1;
  background: #eeeee6;
  border: 1px dashed #d3d5c8;
  border-radius: 7px;
  text-align: center;
  padding: 50px 25px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  width: 100%
}

.empty-state strong {
  font-size: 17px;
  color: var(--ink)
}

.empty-state a {
  display: inline-block;
  color: var(--orange);
  margin-top: 14px
}

.news-item {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  padding: 23px 5px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left
}

.news-item>span:first-child {
  font-size: 11px;
  color: var(--orange);
  min-width: 52px
}

.news-item>span:last-child {
  margin-left: auto
}

.news-item strong {
  font-size: 16px;
  font-weight: 600
}

.site-dialog {
  border: 0;
  border-radius: 10px;
  padding: 40px;
  width: min(620px, calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 80px #0004
}

.site-dialog::backdrop {
  background: #191c17a8
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 30px;
  background: none;
  border: 0;
  width: 42px;
  height: 42px
}

.site-dialog h2 {
  font-size: 27px;
  letter-spacing: -1px;
  padding-right: 15px
}

.site-dialog>p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted)
}

.site-dialog .button {
  margin-top: 12px
}

.receipt-details {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  margin: 23px 0
}

.receipt-details label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px
}

.receipt-details code {
  display: block;
  word-break: break-all;
  font-size: 14px;
  line-height: 1.8;
  user-select: all;
  margin-bottom: 15px
}

.content-dialog {
  width: min(900px, calc(100% - 30px))
}

.article-body {
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 14px;
  margin: 25px 0;
  overflow-wrap: anywhere
}

.case-media {
  display: grid;
  gap: 16px;
  padding-top: 1.4rem;
}

.case-media img, .case-media video {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  background: #e7e7dd
}

.footer-bottom {
  line-height: 1.9;
  align-items: start
}

.footer-bottom>span:first-child {
  max-width: 65%
}

.mobile-contact a:last-child {
  font-size: 14px;
  font-weight: 800;
  flex: 2.3;
  padding-inline: 8px
}

.mobile-contact a:first-child {
  flex: .8
}

.utility-page {
  max-width: 900px;
  margin: 50px auto 90px;
  padding: 0 24px
}

.utility-page>h1 {
  font-size: 38px;
  letter-spacing: -2px;
  margin-bottom: 20px
}

.utility-page h2 {
  font-size: 24px;
  letter-spacing: -1px;
  margin: 25px 0 12px
}

.utility-page p {
  font-size: 14px;
  line-height: 1.9
}

.utility-card {
  padding: 28px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 25px 0
}

.utility-card label {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px
}

.utility-card input, .utility-card select, .utility-card textarea {
  font-size: 15px !important
}

.utility-card .button {
  margin-top: 22px
}

.utility-header {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px
}

.utility-header a {
  font-size: 13px
}

.utility-header>a:first-child {
  font-size: 20px;
  font-weight: 800
}

.notice {
  padding: 15px 20px;
  border-left: 3px solid var(--orange);
  background: #fff2e9;
  font-size: 13px;
  line-height: 1.8
}

.status-badge {
  display: inline-block;
  background: #ffe0d2;
  padding: 7px 12px;
  border-radius: 30px;
  color: #b43818;
  font-size: 13px;
  font-weight: 700
}

.danger {
  background: #a93125 !important;
  color: #fff !important
}

.muted {
  color: var(--muted);
  font-size: 12px
}

.article-body img {
  max-width: 100%
}

@media(max-width: 1100px) {
  .hero-conversion {
    gap: 35px
  }

  .quick-panel {
    padding: 25px
  }

  .nav {
    gap: 15px
  }

  .nav .nav-apply {
    font-size: 11px
  }

  .hero-conversion h1 {
    font-size: 52px
  }

  .hero-apply {
    font-size: 17px
  }

  .case-card>img, .video-cover, .case-placeholder {
    height: 180px
  }
}

@media(max-width: 900px) {
  .hero-conversion {
    gap: 25px
  }

  .hero-conversion h1 {
    font-size: 44px;
    letter-spacing: -2px
  }

  .quick-panel {
    padding: 22px
  }

  .quick-panel h2 {
    font-size: 29px
  }

  .quick-panel .field-row {
    grid-template-columns: 1fr;
    gap: 0
  }

  .hero-photo {
    height: 340px
  }

  .apply-button {
    font-size: 16px
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .nav .nav-apply {
    text-align: center;
    font-size: 15px
  }

  .menu-toggle {
    margin-left: auto
  }
}

@media(max-width: 600px) {
  .hero-conversion {
    grid-template-columns: 1fr;
    padding-top: 26px;
    gap: 26px
  }

  .hero-conversion h1 {
    font-size: 43px;
    line-height: 1.25
  }

  .hero-kicker {
    font-size: 11px;
    margin-bottom: 20px
  }

  .hero-description {
    font-size: 13px;
    margin: 20px 0
  }

  .hero-apply {
    max-width: none;
    font-size: 18px;
    min-height: 62px
  }

  .hero-photo {
    height: 155px;
    margin-top: 23px
  }

  .quick-panel {
    padding: 24px
  }

  .quick-panel h2 {
    font-size: 29px
  }

  .quick-panel h2 br {
    display: none
  }

  .quick-panel .field-row {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .apply-button {
    font-size: 18px
  }

  .case-grid {
    grid-template-columns: 1fr
  }

  .case-card>img, .video-cover, .case-placeholder {
    height: 230px
  }

  .case-filters {
    gap: 6px
  }

  .case-filters button {
    padding: 9px 13px;
    font-size: 11px
  }

  .site-dialog {
    padding: 34px 22px 25px
  }

  .site-dialog h2 {
    font-size: 24px
  }

  .receipt-details code {
    font-size: 12px
  }

  .news-item {
    gap: 12px
  }

  .news-item strong {
    font-size: 13px
  }

  .footer-bottom>span:first-child {
    max-width: 100%
  }

  .utility-page {
    margin-top: 32px
  }

  .utility-page>h1 {
    font-size: 30px
  }

  .utility-card {
    padding: 21px
  }

  .utility-header {
    padding: 20px
  }

  .price-note {
    font-size: 10px !important
  }
}