/* Additions for the three bridge construction vacancies.
   The original road landing design remains in styles.css. */
[hidden] { display: none !important; }
:root { --ink: #2b2b2b; --muted: #5c655f; }
select, button { font: inherit; }
select, .nav-toggle { outline-offset: 4px; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #b0cb1f; outline-offset: 4px; }
.eyebrow, .overline { font-size: 14px; }
.hero h1 { font-size: clamp(42px, 4.6vw, 62px); line-height: 1.07; }
.hero-location { font-size: 22px; margin-top: 18px; }
.hero-footnote { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.hero-badge div > span, .manager-card > span, .consent, .stats dd { font-size: 14px; }
.hero-facts dt { font-size: 13px; }
.hero-facts dd { font-size: 16px; }
.hero-facts > div { min-width: 0; }
.hero-badge-mark { background: var(--accent); color: var(--ink); }
.hero-badge { max-width: 390px; }
.jobs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.job-card { min-width: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 14px 42px rgba(20,55,35,.06); }
.job-index { margin: 0 0 13px; color: var(--brand); font-size: 14px; font-weight: 850; }
.job-card h3 { margin: 0; min-height: 64px; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; hyphens: auto; }
.job-salary { margin: 16px 0 20px; font-size: clamp(27px, 2.6vw, 34px); line-height: 1.15; font-weight: 900; letter-spacing: -.025em; }
.job-salary span { display: block; color: var(--muted); margin-top: 5px; font-size: 16px; font-weight: 500; letter-spacing: 0; }
.job-requirement { min-height: 68px; margin: 0; padding: 12px 14px; background: var(--brand-soft); border-radius: 12px; font-size: 16px; line-height: 1.4; font-weight: 800; }
.qualification { min-height: 52px; color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.job-description { min-height: 80px; margin: 20px 0 0; font-size: 16px; }
.job-details { margin: 14px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.job-details summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }
.job-details summary::-webkit-details-marker { display: none; }
.job-details summary span { color: var(--brand); font-size: 22px; }
.job-details[open] summary span { transform: rotate(45deg); }
.job-details ul { margin: 0 0 20px; padding-left: 20px; color: var(--muted); font-size: 16px; }
.job-details li + li { margin-top: 12px; }
.job-card .button { width: 100%; margin-top: auto; }
.experience-note { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; margin-top: 24px; padding: 24px 28px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: #fff9e9; }
.experience-note strong { font-size: 20px; line-height: 1.35; }
.experience-note p { margin: 0; font-size: 16px; }
.benefit-card p { font-size: 16px; }
.requirement-card { background: #fff; }
.requirement-card::after { display: none; }
.requirement-card ul { padding-left: 20px; margin: 18px 0 0; font-size: 16px; }
.requirement-card li + li { margin-top: 10px; }
.location-card { gap: 22px; }
.form-card { min-width: 0; }
.form-status { margin: 0; padding: 30px 24px; color: var(--muted); font-size: 16px; }
.form-contact-options { display: grid; gap: 12px; margin-top: 18px; }
.form-phone-link { color: var(--brand-dark); font-size: 16px; font-weight: 750; }
.messenger-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 13px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease; }
.messenger-button[hidden] { display: none !important; }
.messenger-button:hover { transform: translateY(-2px); }
.messenger-button img { width: 25px; height: 25px; flex: 0 0 auto; object-fit: contain; }
.max-button { background: linear-gradient(135deg, #471aff 0%, #9500ff 58%, #00bfff 135%); box-shadow: 0 10px 24px rgba(71,26,255,.2); }
.whatsapp-button { background: #25d366; box-shadow: 0 10px 24px rgba(37,211,102,.2); }
.telegram-button { background: #26a5e4; box-shadow: 0 10px 24px rgba(38,165,228,.2); }
.manager-messengers { width: 100%; display: grid; gap: 9px; margin: 16px 0 5px; }
.form-messengers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.form-messengers .messenger-button { min-width: 0; padding-inline: 12px; }
.form-card .bitrix-form-slot { min-height: 160px; background: var(--surface); }
.manager-card > span { opacity: 1; }
.privacy-copy { font-size: 15px; }
@media (min-width: 681px) and (max-width: 1100px) {
  .hero-media { width: 100%; }
  .hero-image { aspect-ratio: 4 / 3; max-height: 570px; }
  .job-card { padding: 22px; }
  .job-card h3 { font-size: 23px; }
  .job-salary { font-size: 27px; }
}
@media (max-width: 960px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .job-card h3, .job-requirement, .qualification, .job-description { min-height: 0; }
  .job-card h3 { font-size: 28px; }
  .job-salary { font-size: 34px; }
  .experience-note { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 680px) {
  .hero h1 { font-size: clamp(32px, 9.3vw, 42px); }
  .hero-location { font-size: 21px; }
  .hero-facts { grid-template-columns: 1fr; gap: 8px; }
  .hero-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px; }
  .hero-facts dd { margin: 0; text-align: right; }
  .hero-facts dt { font-size: 13px; }
  .hero-badge { position: relative; inset: auto; max-width: none; margin: -20px 12px 0; padding: 14px; }
  .hero-badge strong { font-size: 16px; }
  .hero-badge div > span { font-size: 14px; }
  .job-card { padding: 24px 22px; border-radius: 22px; }
  .job-card h3 { font-size: 26px; }
  .job-salary { font-size: 32px; }
  .experience-note { padding: 22px; }
  .benefit-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 0 14px; padding: 22px 18px; }
  .benefit-card h3 { font-size: 21px; }
  .benefit-icon { width: 42px; height: 42px; font-size: 16px; border-radius: 12px; margin-bottom: 0; }
  .benefit-card p { grid-column: 1 / -1; margin-top: 13px; }
  .form-card { padding: 28px 20px; }
  .form-messengers { grid-template-columns: 1fr; }
  .form-messengers .messenger-button { width: 100%; }
  .mobile-cta { bottom: max(9px, env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
