/*
Theme Name: Работа Стройка
Author: OpenAI
Description: Одностраничный сайт вакансий на стройке в Москве.
Version: 1.0.0
*/

:root {
  --ink: #101114;
  --paper: #f4f1e9;
  --white: #fff;
  --acid: #dfff3f;
  --orange: #ff5d2a;
  --muted: #6e706f;
  --line: rgba(16,17,20,.14);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: absolute; z-index: 5; inset: 0 0 auto; padding: 24px 0; color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: var(--acid); border-radius: 11px; transform: rotate(-4deg); }
.top-nav { margin-left: auto; }
.top-nav a { display: inline-block; padding: 9px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; transition: .2s ease; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.header-phone { font-size: 16px; font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 3px; }
.hero { position: relative; overflow: hidden; min-height: 730px; color: #fff; background: var(--ink); padding: 140px 0 75px; }
.hero:before { content: ''; position: absolute; width: 700px; height: 700px; right: -240px; top: -270px; border: 120px solid rgba(223,255,63,.11); border-radius: 50%; }
.hero:after { content: ''; position: absolute; width: 450px; height: 450px; right: 8%; bottom: -330px; background: var(--orange); border-radius: 50%; filter: blur(2px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow:before { content: ''; width: 33px; height: 3px; background: var(--orange); }
h1 { max-width: 850px; margin: 28px 0 24px; font-size: clamp(54px, 7.2vw, 104px); line-height: .91; letter-spacing: -.065em; text-transform: uppercase; }
h1 span { display: block; color: var(--acid); }
.lead { max-width: 690px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(19px,2vw,25px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 58px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 900; transition: .2s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--acid); color: var(--ink); }
.btn-whatsapp { background: #25d366 !important; color: #071b0f !important; border-color: #25d366 !important; }
.btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.hero-card { position: relative; padding: 30px; color: var(--ink); background: var(--white); border-radius: var(--radius); transform: rotate(2deg); box-shadow: 0 25px 70px rgba(0,0,0,.35); }
.hero-card:before { content: '₽'; position: absolute; right: 24px; top: -27px; width: 58px; height: 58px; display: grid; place-items: center; font-size: 28px; font-weight: 900; border-radius: 50%; background: var(--orange); color: white; transform: rotate(-9deg); }
.card-kicker { color: var(--muted); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.pay { margin: 10px 0 5px; font-size: clamp(58px,6vw,86px); font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.per-day { font-size: 21px; font-weight: 800; }
.card-line { height: 1px; margin: 24px 0; background: var(--line); }
.mini-list { display: grid; gap: 13px; font-weight: 700; }
.mini-list div { display: flex; align-items: center; gap: 10px; }
.check { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--acid); font-size: 13px; }
.stats { position: relative; z-index: 3; margin-top: -34px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); background: var(--white); border-radius: var(--radius); box-shadow: 0 15px 50px rgba(16,17,20,.1); overflow: hidden; }
.stat { padding: 30px 34px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: 22px; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 6px; color: var(--muted); line-height: 1.5; }
.section { padding: 110px 0; }
.section-title { max-width: 850px; margin: 15px 0 48px; font-size: clamp(42px,5.3vw,72px); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.jobs-section { padding-bottom: 40px; }
.jobs { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.job { position: relative; overflow: hidden; min-height: 390px; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.job:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(16,17,20,.11); }
.job:after { content: ''; position: absolute; width: 190px; height: 190px; right: -85px; top: -90px; border: 38px solid rgba(16,17,20,.07); border-radius: 50%; }
.job-icon { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: var(--ink); color: #fff; font-size: 27px; font-weight: 900; }
.job-tag { margin-top: 56px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.job h3 { margin: 10px 0 12px; font-size: clamp(28px,3vw,40px); line-height: 1; letter-spacing: -.05em; }
.job p { margin: 0 0 25px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.job a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 900; }
.job a span { font-size: 22px; }
.job-helper { background: var(--acid); }
.job-helper .job-icon { background: var(--orange); }
.job-helper .job-tag, .job-helper p { color: rgba(16,17,20,.68); }
.job-concrete { background: var(--ink); color: #fff; }
.job-concrete .job-icon { background: var(--acid); color: var(--ink); }
.job-concrete .job-tag, .job-concrete p { color: rgba(255,255,255,.62); }
.job-concrete a { border-color: rgba(255,255,255,.18); }
.more-jobs-section { padding: 55px 0 70px; }
.more-jobs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 34px; }
.more-jobs-head h2 { margin: 14px 0 0; font-size: clamp(40px,5vw,68px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.more-jobs-head p { max-width: 520px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.more-jobs-copy a { display: inline-block; margin-top: 15px; color: var(--orange); font-weight: 900; text-decoration: none; }
.job-links { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); }
.job-links a { display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 0 22px 0 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(21px,2.5vw,30px); font-weight: 900; letter-spacing: -.035em; transition: padding .2s ease, color .2s ease; }
.job-links a:nth-child(odd) { margin-right: 30px; }
.job-links a:hover { padding-left: 15px; color: var(--orange); }
.job-links b { font-size: 24px; }
.how-section { padding-top: 80px; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step { min-height: 280px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.38); }
.step-num { display: grid; place-items: center; width: 50px; height: 50px; font-size: 18px; font-weight: 900; background: var(--ink); color: #fff; border-radius: 14px; }
.step h3 { margin: 46px 0 10px; font-size: 26px; letter-spacing: -.04em; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 17px; }
.vacancy-info { background: var(--white); }
.info-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.info-intro { position: sticky; top: 35px; }
.info-intro .section-title { margin-bottom: 24px; }
.info-intro > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.info-intro .btn { margin-top: 30px; }
.conditions { display: grid; gap: 0; border-top: 1px solid var(--line); }
.condition { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.condition > span { color: var(--orange); font-size: 14px; font-weight: 900; }
.condition h3 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.035em; }
.condition p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.faq-section { padding-bottom: 110px; }
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 26px 60px 26px 0; cursor: pointer; list-style: none; font-size: clamp(20px,2.4vw,29px); font-weight: 900; letter-spacing: -.035em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; position: absolute; right: 8px; top: 20px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 23px; }
.faq-list details[open] summary:after { content: '−'; background: var(--orange); }
.faq-list p { max-width: 740px; margin: -5px 0 26px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-section { padding: 0 0 90px; }
.contact-box { position: relative; overflow: hidden; padding: 70px; color: #fff; background: var(--orange); border-radius: 34px; }
.contact-box:after { content: ''; position: absolute; right: -120px; top: -170px; width: 440px; height: 440px; border: 85px solid rgba(255,255,255,.13); border-radius: 50%; }
.contact-box h2 { position: relative; z-index: 2; max-width: 750px; margin: 0 0 18px; font-size: clamp(45px,6vw,78px); line-height: .96; letter-spacing: -.06em; text-transform: uppercase; }
.contact-box p { position: relative; z-index: 2; max-width: 650px; margin: 0; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.85); }
.contact-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-actions .btn { background: #fff; color: var(--ink); }
.contact-actions .btn-dark { background: var(--ink); color: #fff; }
.footer { padding: 25px 0 40px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.mobile-bar { display: none; }
.vacancy-hero { position: relative; overflow: hidden; padding: 135px 0 85px; color: #fff; background: var(--ink); }
.vacancy-hero:after { content: ''; position: absolute; right: -120px; bottom: -230px; width: 520px; height: 520px; border-radius: 50%; background: var(--orange); }
.back-link { position: relative; z-index: 2; display: inline-block; margin-bottom: 55px; color: rgba(255,255,255,.65); text-decoration: none; font-weight: 800; }
.vacancy-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.vacancy-hero h1 { margin: 25px 0 24px; font-size: clamp(50px,6.6vw,92px); }
.vacancy-pay { padding: 32px; color: var(--ink); background: var(--acid); border-radius: var(--radius); transform: rotate(2deg); }
.vacancy-pay span, .vacancy-pay small { display: block; font-weight: 800; }
.vacancy-pay span { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.vacancy-pay strong { display: block; margin: 14px 0 8px; font-size: clamp(42px,4.5vw,64px); line-height: .95; letter-spacing: -.06em; }
.vacancy-pay small { font-size: 17px; }
.detail-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.task-list { border-top: 1px solid var(--line); }
.task { display: grid; grid-template-columns: 65px 1fr; gap: 20px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.task span { color: var(--orange); font-size: 14px; font-weight: 900; }
.task strong { font-size: 21px; line-height: 1.35; }
.job-fit { padding: 0 0 30px; }
.fit-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; padding: 55px; color: #fff; background: var(--ink); border-radius: 32px; }
.fit-box h2 { margin: 16px 0 0; color: var(--acid); font-size: clamp(40px,5vw,70px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.fit-box p { margin: 0; color: rgba(255,255,255,.68); font-size: 20px; line-height: 1.65; }
.professions-hero { padding: 145px 0 85px; color: #fff; background: var(--ink); }
.professions-hero h1 { margin: 25px 0 22px; color: var(--acid); }
.professions-hero .lead { max-width: 760px; }
.professions-catalog { padding-top: 75px; }
.catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 25px; border-bottom: 3px solid var(--ink); }
.catalog-head strong { font-size: 22px; }
.catalog-head span { color: var(--muted); }
.profession-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.profession-grid a { position: relative; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease, color .2s ease; }
.profession-grid a:nth-child(3n) { border-right: 0; }
.profession-grid a:hover { color: #fff; background: var(--orange); }
.profession-grid small { color: var(--muted); font-size: 12px; font-weight: 900; }
.profession-grid a:hover small { color: rgba(255,255,255,.7); }
.profession-grid strong { max-width: 85%; font-size: clamp(22px,2.5vw,32px); line-height: 1.05; letter-spacing: -.04em; }
.profession-grid span { position: absolute; right: 24px; bottom: 22px; font-size: 24px; font-weight: 900; }

@media (max-width: 850px) {
  .hero { min-height: auto; padding-top: 125px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .vacancy-hero-grid, .detail-grid, .fit-box { grid-template-columns: 1fr; gap: 45px; }
  .profession-grid { grid-template-columns: repeat(2,1fr); }
  .profession-grid a:nth-child(3n) { border-right: 1px solid var(--line); }
  .profession-grid a:nth-child(2n) { border-right: 0; }
  .vacancy-pay { max-width: 500px; transform: none; }
  .hero-card { max-width: 520px; transform: none; }
  .stats-grid, .jobs, .steps { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 55px; }
  .more-jobs-head { grid-template-columns: 1fr; gap: 22px; }
  .info-intro { position: static; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-box { padding: 48px 28px; }
  .fit-box { padding: 40px 28px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px,1180px); }
  .logo-text { display: none; }
  .top-nav { margin-left: 0; }
  .top-nav a { padding: 8px 11px; font-size: 12px; }
  .header-phone { font-size: 12px; }
  .hero { padding-bottom: 70px; }
  h1 { font-size: 49px; }
  .lead { font-size: 18px; }
  .actions .btn { width: 100%; }
  .section { padding: 82px 0; }
  .section-title { font-size: 42px; }
  .job-links { grid-template-columns: 1fr; }
  .profession-grid { grid-template-columns: 1fr; }
  .profession-grid a, .profession-grid a:nth-child(2n), .profession-grid a:nth-child(3n) { border-right: 0; }
  .catalog-head { align-items: flex-start; flex-direction: column; }
  .job-links a:nth-child(odd) { margin-right: 0; }
  .condition { grid-template-columns: 45px 1fr; }
  .contact-section { padding-bottom: 110px; }
  .footer-row { flex-direction: column; }
  .mobile-bar { position: fixed; z-index: 30; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; left: 8px; right: 8px; bottom: 8px; padding: 8px; background: rgba(16,17,20,.92); backdrop-filter: blur(12px); border-radius: 18px; box-shadow: 0 8px 35px rgba(0,0,0,.3); }
  .mobile-bar a { min-height: 48px; display: grid; place-items: center; text-align: center; text-decoration: none; font-size: 13px; font-weight: 900; border-radius: 12px; background: var(--acid); }
  .mobile-bar a:last-child { background: #fff; }
  .mobile-bar .mobile-whatsapp { background: #25d366; }
}
