.contact-page { background: var(--cream); }
.contact-hero { padding: 76px 0 96px; background: var(--sand); border-bottom: 1px solid var(--line); }
.contact-heading { display: grid; grid-template-columns: 1.18fr .82fr; gap: 90px; align-items: end; margin-bottom: 58px; }
.contact-heading h1 { max-width: 780px; margin-bottom: 0; font-size: clamp(3.8rem, 7vw, 7.2rem); }
.contact-heading > p { max-width: 510px; margin: 0 0 10px; color: var(--muted); font-size: 1.05rem; }
.contact-actions { display: grid; grid-template-columns: .82fr repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: white; }
.contact-actions-intro, .contact-action { min-height: 250px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-actions-intro { display: flex; flex-direction: column; justify-content: flex-end; color: white; background: var(--green-deep); }
.contact-actions-intro h2 { font-size: 1.55rem; }
.contact-actions-intro p { margin: 0; color: rgba(255,255,255,.64); font-size: .86rem; }
.contact-action { display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s ease, background .2s ease; }
.contact-action:hover { position: relative; z-index: 1; transform: translateY(-5px); background: #fffdf9; box-shadow: 0 20px 40px rgba(7,31,29,.1); }
.contact-action.featured { color: white; background: var(--terracotta); }
.contact-action.featured:hover { background: var(--terracotta-dark); }
.contact-action > span { color: var(--terracotta); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.contact-action.featured > span { color: #ffe1cf; }
.contact-action h3 { margin: 0 0 10px; font-size: 1.32rem; }
.contact-action p { margin: 0 0 24px; color: var(--muted); font-size: .86rem; }
.contact-action.featured p { color: rgba(255,255,255,.76); }
.contact-action strong { color: var(--terracotta); font: 800 .84rem/1.3 Manrope, Arial, sans-serif; }
.contact-action.featured strong { color: white; }
.request-builder { background: var(--cream); }
.builder-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 92px; align-items: start; }
.builder-intro { position: sticky; top: 28px; }
.builder-intro > p:last-child { max-width: 450px; color: var(--muted); }
.contact-planner fieldset { margin: 0; padding: 0; border: 0; }
.contact-planner legend, .planner-selects label > span { display: block; margin: 0 0 16px; font: 800 .84rem/1.4 Manrope, Arial, sans-serif; }
.service-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-choice { position: relative; cursor: pointer; }
.service-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.service-choice > span { min-height: 176px; display: flex; flex-direction: column; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; transition: background .18s ease, color .18s ease; }
.service-choice small { color: var(--terracotta); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.service-choice strong { margin: 34px 0 8px; font: 800 1.05rem/1.25 Manrope, Arial, sans-serif; }
.service-choice b { color: var(--muted); font-size: .8rem; font-weight: 400; line-height: 1.5; }
.service-choice input:checked + span { color: white; background: var(--green); }
.service-choice input:checked + span small { color: #f2c6a8; }
.service-choice input:checked + span b { color: rgba(255,255,255,.68); }
.service-choice input:focus-visible + span { outline: 3px solid #d8a84e; outline-offset: -4px; }
.planner-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.planner-selects label { display: block; }
.planner-selects select { width: 100%; min-height: 54px; padding: 0 42px 0 15px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 0; font: 500 .9rem/1.3 Inter, Arial, sans-serif; }
.request-preview { margin-top: 34px; padding: 30px; color: white; background: var(--green-deep); }
.request-preview .eyebrow { color: #f2c6a8; }
#contact-summary { min-height: 92px; display: grid; gap: 8px; color: rgba(255,255,255,.72); font-size: .9rem; }
#contact-summary p { display: grid; grid-template-columns: 105px 1fr; gap: 18px; margin: 0; }
#contact-summary strong { color: white; }
.request-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.request-actions .button { padding-inline: 18px; text-align: center; }
.estimate-action { color: var(--green); background: var(--sand); }
.email-action { grid-column: 1 / -1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #f2c6a8; font-size: .84rem; font-weight: 800; }
.is-disabled { cursor: not-allowed; opacity: .46; }
.privacy-note { margin: 18px 0 0; color: rgba(255,255,255,.52); font-size: .72rem; }
.contact-next { background: var(--sand); }
.next-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.next-links a { color: var(--terracotta); font-size: .86rem; font-weight: 800; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.next-grid article { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.next-grid span { color: var(--terracotta); font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.next-grid h3 { margin: 46px 0 10px; font-size: 1.2rem; }
.next-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 1060px) {
  .contact-actions { grid-template-columns: repeat(3, 1fr); }
  .contact-actions-intro { grid-column: 1 / -1; min-height: 170px; }
  .builder-layout { grid-template-columns: 1fr; gap: 42px; }
  .builder-intro { position: static; }
}

@media (max-width: 760px) {
  .contact-hero { padding: 58px 0 72px; }
  .contact-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 42px; }
  .contact-heading h1, html[lang="ru"] .contact-heading h1 { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions-intro { grid-column: auto; min-height: 160px; }
  .contact-action { min-height: 205px; }
  .service-choice-grid, .planner-selects, .request-actions, .next-grid { grid-template-columns: 1fr; }
  .service-choice > span { min-height: 155px; }
  .email-action { grid-column: auto; }
  #contact-summary p { grid-template-columns: 1fr; gap: 2px; }
  .next-grid article { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-action, .service-choice > span { transition: none; }
}
