/* Аллергология: страница в веб-стиле «Здоровье» (белый фон, серые карточки, зелёный промоблок) */
.al { --g: #009b77; --g-dark: #137863; --g-2: #02a87d; --g-tint: #e6f6f1; --red: #ed405d; --red-tint: #fff1f3; --ink: #232524; --muted: #737d78; --line: #e8ecea; --bg: #f7f7f7;
	font-family: Gilroy, sans-serif; color: var(--ink); margin: 0 0 24px; }
.al *, .al *::before, .al *::after { box-sizing: border-box; }
.al a { text-decoration: none; }
.al svg { width: 20px; height: 20px; flex: none; }
.al-sec { padding: 56px 0 0; }
.al-h2 { font-size: 40px; line-height: 1.15; font-weight: 700; margin: 0 0 14px; }
.al-h2--w { color: #fff; margin-top: 16px; }
.al-h3 { font-size: 26px; line-height: 1.2; font-weight: 700; margin: 36px 0 14px; }
.al-lead { font-size: 18px; line-height: 1.5; color: var(--muted); margin: 0 0 28px; max-width: 820px; }
.al-note { font-size: 16px; line-height: 1.5; color: var(--muted); margin: -4px 0 18px; }
.al-fine { font-size: 14px; color: var(--muted); margin: 22px 0 0; }

.al-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px 2px; border-radius: 30px; border: 1px solid transparent;
	font: 600 16px/1 Gilroy, sans-serif; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.al-btn--g { background: var(--g); color: #fff !important; }
.al-btn--g:hover { background: var(--g-dark); }
.al-btn--w { background: #fff; color: var(--g-dark) !important; }
.al-btn--w:hover { background: var(--g-tint); }
.al-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff !important; }
.al-btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.al-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 9px; border-radius: 30px; background: rgba(255,255,255,.16); color: #fff; font-size: 14px; font-weight: 600; }
.al-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }

/* Первый экран */
.al-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: 36px; overflow: hidden; min-height: 540px;
	background: radial-gradient(120% 140% at 0% 0%, #02a87d 0%, #009b77 55%, #0b8a6c 100%); color: #fff; margin-top: 8px; }
.al-hero::before { content: ""; position: absolute; left: -10%; bottom: -55%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.al-hero__text { position: relative; z-index: 1; padding: 52px 52px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.al-h1 { font-size: 54px; line-height: 1.06; font-weight: 700; margin: 18px 0 16px; color: #fff; }
.al-hero__lead { font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.9); margin: 0; max-width: 560px; }
.al-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.al-hero__facts { display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); width: 100%; }
.al-hero__facts div { padding-right: 16px; }
.al-hero__facts div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.22); }
.al-hero__facts b { display: block; font-size: 24px; font-weight: 700; white-space: nowrap; }
.al-hero__facts span { display: block; font-size: 14px; line-height: 1.3; color: rgba(255,255,255,.8); margin-top: 4px; }
.al-hero__media { position: relative; }
.al-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; display: block; }

/* Карточки */
.al-cards { display: grid; gap: 16px; }
.al-cards--3 { grid-template-columns: repeat(3, 1fr); }
.al-cards--4 { grid-template-columns: repeat(4, 1fr); }
.al-card { background: var(--bg); border-radius: 24px; padding: 28px 28px 30px; }
.al-card__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g-tint); color: var(--g); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.al-card h3, .al-step h3, .al-prep h3, .al-box h3 { font-size: 22px; line-height: 1.2; font-weight: 700; margin: 0 0 10px; }
.al-card p, .al-step p, .al-prep p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }
.al-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.al-chips span { padding: 10px 16px 11px; border-radius: 30px; background: var(--g-tint); color: var(--g-dark); font-size: 15px; font-weight: 600; }

/* Промо про тесты */
.al-promo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; padding: 44px 48px; border-radius: 36px; color: #fff; align-items: center;
	background: radial-gradient(120% 140% at 100% 0%, #02a87d 0%, #009b77 55%, #0b8a6c 100%); }
.al-promo__main p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 0 0 12px; }
.al-promo__stats { display: grid; gap: 12px; }
.al-promo__stats div { background: rgba(255,255,255,.14); border-radius: 20px; padding: 18px 22px; }
.al-promo__stats b { display: block; font-size: 30px; font-weight: 700; line-height: 1.1; }
.al-promo__stats span { display: block; font-size: 15px; color: rgba(255,255,255,.85); margin-top: 4px; }

/* Шкала результата */
.al-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.al-scale__i { background: var(--bg); border-radius: 20px; padding: 18px 18px 20px; border-top: 6px solid #ccc; }
.al-scale__i b { display: block; font-size: 17px; margin-bottom: 6px; }
.al-scale__i span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.al-scale__i--4 { border-color: var(--red); }
.al-scale__i--3 { border-color: #f28a5b; }
.al-scale__i--2 { border-color: #f1c34d; }
.al-scale__i--1 { border-color: #b9c2be; }
.al-scale__i--0 { border-color: var(--g); }

/* Шаги */
.al-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.al-step { background: var(--bg); border-radius: 24px; padding: 26px 28px 28px; }
.al-step__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 700; margin-bottom: 16px; }
.al-prep { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.al-prep__col { border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; }

/* Списки */
.al-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.al-list li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: #4a524e; }
.al-list li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.al-list--r li::before { background: var(--red); }
.al-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.al-box { border-radius: 28px; padding: 30px 32px 32px; }
.al-box--g { background: var(--g-tint); }
.al-box--r { background: var(--red-tint); }

/* Цены */
.al-rows { display: grid; gap: 8px; }
.al-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--bg); border-radius: 18px; padding: 16px 24px; }
.al-row__n { font-size: 16px; line-height: 1.4; }
.al-row__p { font-size: 18px; white-space: nowrap; }

.al-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }

.al-group__t { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 6px; }
.al-test__box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #c6cdca; background: #fff; display: flex; align-items: center; justify-content: center; color: transparent; flex: none; transition: all .15s; }
.al-test__box svg { width: 16px; height: 16px; }
.al-test__n { flex: 1; font-size: 16px; line-height: 1.35; }
.al-test__p { font-size: 17px; white-space: nowrap; }
.al-calc__sum { position: sticky; top: 96px; background: #fff; border: 1.5px solid var(--line); border-radius: 28px; padding: 26px 28px 28px; box-shadow: 0 18px 40px rgba(20,60,50,.07); }
.al-calc__t { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.al-calc__line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 16px; color: var(--muted); border-bottom: 1px solid var(--line); }
.al-calc__line b { color: var(--ink); }
.al-calc__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; font-size: 18px; }
.al-calc__total b { font-size: 32px; color: var(--g-dark); }
.al-calc__hint { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 6px 0 20px; min-height: 40px; }
.al-calc__sum .al-btn { width: 100%; }

/* Планшет и мобильные */
@media (max-width: 1100px) {
	.al-hero { grid-template-columns: 1fr; min-height: 0; }
	.al-hero__media { height: 340px; order: -1; }
	.al-hero__media img { object-position: 50% 30%; }
	.al-hero__facts { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
	.al-hero__facts div:nth-child(3) { padding-left: 0; border-left: 0; }
	.al-promo { grid-template-columns: 1fr; padding: 34px 30px; gap: 28px; }
	.al-scale { grid-template-columns: repeat(2, 1fr); }
	.al-calc__sum { position: static; }
}
@media (max-width: 760px) {
	.al-sec { padding-top: 40px; }
	.al-h2 { font-size: 28px; }
	.al-h3 { font-size: 22px; margin-top: 28px; }
	.al-lead { font-size: 16px; }
	.al-hero { border-radius: 26px; }
	.al-hero__media { height: 260px; }
	.al-hero__text { padding: 28px 22px 26px; }
	.al-h1 { font-size: 32px; }
	.al-hero__lead { font-size: 17px; }
	.al-hero__btns { width: 100%; }
	.al-hero__btns .al-btn { width: 100%; }
	.al-hero__facts b { font-size: 20px; }
	.al-cards--3, .al-cards--4, .al-steps, .al-prep, .al-two { grid-template-columns: 1fr; }
	.al-card, .al-step, .al-prep__col, .al-box { padding: 22px 22px 24px; border-radius: 22px; }
	.al-promo { padding: 28px 22px; border-radius: 26px; }
	.al-promo__stats b { font-size: 26px; }
	.al-scale { grid-template-columns: 1fr; }
	.al-tiers { grid-template-columns: 1fr; gap: 8px; }
	.al-row { padding: 14px 16px; gap: 12px; }
	.al-row__p { font-size: 16px; }
	.al-test__n { font-size: 15px; }
	.al-test__p { font-size: 15px; }
	.al-calc__sum { padding: 22px 20px; }
}


/* Калькулятор накожных тестов */
.al-calc { background: var(--bg); border-radius: 32px; padding: 28px 28px 20px; margin-top: 36px; }
.al-calc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 8px; }
.al-calc__title { font-size: 26px; line-height: 1.2; font-weight: 700; margin: 0 0 8px; }
.al-calc__note { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 560px; }
.al-tiers { display: flex; gap: 8px; flex: none; }
.al-tier { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 14px 10px; border-radius: 30px; background: #fff; border: 1.5px solid var(--line); font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .25s; }
.al-tier b { font-size: 17px; color: var(--g); }
.al-tier.is-on { background: var(--g); border-color: var(--g); color: rgba(255,255,255,.9); }
.al-tier.is-on b { color: #fff; }
.al-group { margin-top: 18px; }
.al-group__t { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 4px; }
.al-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.al-tile { position: relative; display: grid; align-content: start; grid-template-columns: 24px 1fr; column-gap: 10px; row-gap: 4px; align-items: start; background: #fff; border: 1.5px solid transparent; border-radius: 18px; padding: 14px 14px 13px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.al-tile:hover { box-shadow: 0 6px 18px rgba(20,60,50,.08); }
.al-tile input { position: absolute; opacity: 0; pointer-events: none; }
.al-tile__box { grid-row: 1 / 3; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #c6cdca; background: #fff; display: flex; align-items: center; justify-content: center; color: transparent; transition: all .15s; margin-top: 1px; }
.al-tile__box svg { width: 14px; height: 14px; }
.al-tile__n { font-size: 15px; line-height: 1.3; font-weight: 600; }
.al-tile__p { font-size: 14px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.al-tile:has(input:checked) { border-color: var(--g); background: var(--g-tint); }
.al-tile input:checked + .al-tile__box { background: var(--g); border-color: var(--g); color: #fff; }
.al-tile:has(input:checked) .al-tile__p { color: var(--g-dark); }
.al-tile input:focus-visible + .al-tile__box { outline: 3px solid rgba(0,155,119,.35); }
.al-calc__bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; background: #fff; border-radius: 26px; padding: 14px 16px 14px 28px; box-shadow: 0 10px 34px rgba(20,60,50,.14); }
.al-calc__stats { display: flex; align-items: flex-end; gap: 30px; }
.al-calc__stats span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.al-calc__stats b { font-size: 20px; font-weight: 700; white-space: nowrap; }
.al-calc__tot b { font-size: 28px; line-height: 1; color: var(--g-dark); }
.al-calc__act { display: flex; align-items: center; gap: 18px; }
.al-calc__hint { font-size: 14px; line-height: 1.35; color: var(--muted); max-width: 200px; text-align: right; }
.al-calc__bar .al-btn { height: 50px; }

@media (max-width: 1100px) {
	.al-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.al-calc__head { flex-direction: column; gap: 14px; }
}
@media (max-width: 760px) {
	.al-calc { padding: 20px 14px 14px; border-radius: 24px; margin-top: 28px; }
	.al-calc__title { font-size: 22px; }
	.al-tiers { flex-wrap: wrap; }
	.al-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.al-tile { grid-template-columns: 1fr; padding: 10px 12px 9px; row-gap: 2px; border-radius: 16px; }
	.al-tile__box { grid-row: auto; position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; }
	.al-tile__n { padding-right: 24px; font-size: 13.5px; line-height: 1.25; }
	.al-tile__p { font-size: 13px; }
	.al-calc__note { font-size: 14px; }
	.al-group { margin-top: 14px; }
	.al-calc__bar { padding: 14px 14px 14px 16px; gap: 12px; border-radius: 22px; }
	.al-calc__stats { gap: 16px; width: 100%; justify-content: space-between; }
	.al-calc__stats b { font-size: 16px; }
	.al-calc__tot b { font-size: 22px; }
	.al-calc__act { width: 100%; }
	.al-calc__hint { display: none; }
	.al-calc__bar .al-btn { width: 100%; }
}

.al-text { max-width: 880px; }
.al-text p { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.al-text p:last-child { margin-bottom: 0; }
.al-asit__p { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0 0 12px; }
.al-box .al-h2 { font-size: 28px; margin: 0 0 14px; }
.al-asit__btn { margin-top: 18px; }
@media (max-width: 1100px) { .al-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .al-cards--4 { grid-template-columns: 1fr; } }


/* Причёсывание: вступление, ровные боксы, списки в 2 колонки */
.al-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.al-intro .al-lead { margin-bottom: 0; }
.al-intro__list { display: grid; }
.al-intro__i { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.al-intro__i:first-child { border-top: 0; padding-top: 4px; }
.al-intro__i:last-child { padding-bottom: 4px; }
.al-intro__i .al-card__num { margin: 0; flex: none; }
.al-intro__i h3 { font-size: 22px; line-height: 1.2; font-weight: 700; margin: 4px 0 8px; }
.al-intro__i p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }
.al-two > .al-box:not(.al-box--g):not(.al-box--r) { border: 1px solid var(--line); background: #fff; }
.al-list--cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; align-content: start; }
@media (max-width: 1100px) { .al-intro { gap: 32px; } }
@media (max-width: 900px) { .al-intro { grid-template-columns: 1fr; gap: 24px; } .al-intro__i:first-child { padding-top: 0; } }
@media (max-width: 760px) { .al-list--cols { grid-template-columns: 1fr; } .al-intro__i { gap: 14px; padding: 18px 0; } }

/* 3D-иконки */
.al-ico { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 0 12px -6px; }
.al-intro__i .al-ico { margin: -4px 0 0; flex: none; width: 80px; height: 80px; }
.al-step .al-ico { margin-bottom: 10px; }
@media (max-width: 760px) { .al-intro__i .al-ico { width: 60px; height: 60px; } .al-ico { width: 64px; height: 64px; } }

/* Картинка у формы: компактнее и с отступами от края блока */
@media (min-width: 768px) {
	.al-formblock .b-form-with-img__image { width: auto; max-width: 34%; max-height: 330px; right: 5%; bottom: 50%; transform: translateY(50%); object-fit: contain; }
}

/* Иконки тестов в калькуляторе */
.al-tile--ico { grid-template-columns: 56px 1fr; column-gap: 12px; align-items: center; padding: 12px 14px 12px 12px; }
.al-tile--ico .al-tile__ico { grid-row: 1 / 3; width: 56px; height: 56px; object-fit: contain; display: block; }
.al-tile--ico .al-tile__box { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; margin: 0; grid-row: auto; }
.al-tile--ico .al-tile__n { padding-right: 26px; align-self: end; }
.al-tile--ico .al-tile__p { align-self: start; }
@media (max-width: 1100px) {
	.al-tile--ico { grid-template-columns: 1fr; padding: 10px 12px 9px; row-gap: 2px; }
	.al-tile--ico .al-tile__ico { grid-row: auto; width: 48px; height: 48px; margin-bottom: 2px; }
	.al-tile--ico .al-tile__n { align-self: auto; padding-right: 0; }
}

/* «С чем обращаются»: на телефоне — компактные строки, иконка слева */
@media (max-width: 1100px) and (min-width: 761px) {
	.al-cards--4 .al-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; padding: 22px; }
	.al-cards--4 .al-card .al-ico { grid-row: 1 / 3; width: 64px; height: 64px; margin: 0; }
	.al-cards--4 .al-card h3 { margin: 2px 0 6px; }
}
@media (max-width: 760px) {
	.al-cards--4 { gap: 8px; }
	.al-cards--4 .al-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px 14px 12px; border-radius: 22px; }
	.al-cards--4 .al-card .al-ico { grid-row: 1 / 3; width: 56px; height: 56px; margin: 0; align-self: center; }
	.al-cards--4 .al-card .al-card__num { grid-row: 1 / 3; margin: 0; }
	.al-cards--4 .al-card h3 { font-size: 17px; margin: 0 0 3px; align-self: end; }
	.al-cards--4 .al-card p { font-size: 14px; line-height: 1.4; align-self: start; }
}
