.hero {
    gap: 48px;
    padding-top: 54px;
    padding-bottom: 58px;
}
.hero h1 {
    font-size: clamp(44px, 4.5vw, 63px);
    line-height: 1.1;
}
.hero-lead { max-width: 460px; margin-bottom: 22px; }
.hero-price {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 420px;
    padding: 15px 17px;
    margin-bottom: 24px;
    background: #f2f7ed;
    border: 1px solid #d8e4cd;
    border-radius: 9px;
}
.hero-price-amount {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--teal);
}
.hero-price strong { display: block; font-size: 14px; }
.hero-price small { display: block; font-size: 11px; color: var(--text); }
.hero-price > .icon { margin-left: auto; }
.hero-visual { padding: 0; }
.hero-visual:before { content: none; }
.hero-photo {
    height: 510px;
    border-radius: 10px;
    object-position: center;
    border: 1px solid #e5e9e2;
}
.owner-note {
    padding: 14px 17px;
    border-left: 3px solid #4b9b81;
    background: #eaf2e7;
    border-radius: 0 7px 7px 0;
}
.owner-note strong { display: block; color: var(--ink); margin-bottom: 4px; }
.device-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.device-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 3px 0 #eaf0ed;
}
.device-photo { aspect-ratio: 4 / 3; background: #f6f6f0; overflow: hidden; }
.device-photo img { width: 100%; height: 100%; object-fit: cover; }
.device-copy { padding: 23px; }
.device-copy h3 { font-size: 19px; margin-bottom: 12px; }
.device-copy p { font-size: 13px; line-height: 1.8; margin-bottom: 17px; }
.device-copy small {
    display: block;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 500;
}
.device-note, .comparison-source {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.85;
    margin: 20px 0 0;
}
.barcode-transfer-note {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding: 23px;
    background: #f1f6fc;
    border: 1px solid #dce6f3;
    border-radius: 10px;
}
.barcode-transfer-note h3 { font-size: 17px; margin-bottom: 7px; }
.barcode-transfer-note p { font-size: 12px; margin: 0; }
.comparison-section { background: #f4f8f5; border-block: 1px solid #e3ebe5; padding: 70px 0; }
.comparison-scroll { overflow-x: auto; background: #fff; border: 1px solid #d5e1d9; border-radius: 11px; }
.comparison-table { min-width: 720px; white-space: normal; table-layout: fixed; }
.comparison-table th, .comparison-table td {
    padding: 22px;
    vertical-align: top;
    border-right: 1px solid #e1e9e3;
}
.comparison-table thead th {
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    background: #fff;
    position: static;
}
.comparison-table th:first-child { width: 24%; }
.comparison-table tbody th {
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    background: white;
    color: var(--text);
    position: static;
    font-weight: 500;
}
.comparison-table .our-product { background: #ecf6ed; }
.comparison-table td strong, .comparison-table td span { display: block; }
.comparison-table td strong { font-size: 13px; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.comparison-table td span { color: var(--text); font-size: 12px; line-height: 1.8; }
.comparison-table .compare-price { font-size: 29px; color: var(--teal); letter-spacing: -.04em; line-height: 1.2; }
.comparison-source a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.comparison-bottom { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 25px; }
.comparison-bottom p { max-width: 730px; font-size: 12px; margin: 0; }
.comparison-bottom .button { flex-shrink: 0; }
.auth-with-photo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(360px,500px);
    gap: 60px;
    align-items: center;
    padding: 55px max(40px,calc((100vw - 1180px) / 2));
    background-color: #f0f5f0;
    background-size: cover;
    background-position: left center;
    min-height: 78vh;
}
.auth-login {
    background-image: linear-gradient(90deg,#f0f4e83d 0%,#f0f5f08a 48%,#f0f5f0f0 74%,#f0f5f0 100%),url('/images/login-pharmacy.webp');
}
.auth-register {
    background-image: linear-gradient(90deg,#eef4ec26 0%,#eef4ec66 48%,#eef4ecf5 74%,#eef4ec 100%),url('/images/signup-pharmacy.webp');
    align-items: start;
}
.auth-scene {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    padding-bottom: 30px;
    position: relative;
    z-index: 1;
}
.auth-scene .eyebrow, .auth-scene h2, .auth-scene p {
    background: #fffffff0;
    padding: 7px 14px;
    border-radius: 5px;
}
.auth-scene .eyebrow { margin-bottom: 10px; padding-block: 10px; }
.auth-scene h2 { font-size: clamp(28px,3vw,40px); line-height: 1.2; margin-bottom: 9px; padding-block: 13px; }
.auth-scene p { font-size: 13px; max-width: 390px; margin-bottom: 0; }
.auth-with-photo .auth-card { position: relative; z-index: 2; margin: 0; box-shadow: 0 12px 40px #1d452a20; width: 100%; }
@media (max-width:1050px) {
    .hero { gap: 30px; }
    .hero-photo { height: 495px; }
    .auth-with-photo { gap: 30px; padding-inline: 30px; }
    .auth-scene h2 { font-size: 29px; }
}
@media (max-width:800px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { margin-left: 0; }
    .hero-photo { height: 420px; object-position: center; }
    .device-grid { grid-template-columns: 1fr; }
    .device-card { display: grid; grid-template-columns: 220px 1fr; }
    .device-photo { aspect-ratio: auto; height: 100%; min-height: 230px; }
    .comparison-bottom { display: block; }
    .comparison-bottom .button { margin-top: 20px; }
    .auth-with-photo { grid-template-columns: minmax(0,1fr); padding: 30px 24px; gap: 24px; background-position: center; }
    .auth-scene { min-height: 190px; padding-bottom: 0; }
    .auth-with-photo .auth-card { max-width: 500px; margin: auto; }
    .auth-register { background-image: linear-gradient(#eff5ed66,#eff5edf0 60%,#eff5ed),url('/images/signup-pharmacy.webp'); }
    .auth-login { background-image: linear-gradient(#f0f5f055,#f0f5f0f0 60%,#f0f5f0),url('/images/login-pharmacy.webp'); }
}
@media (max-width:500px) {
    .hero { padding-top: 35px; padding-bottom: 36px; }
    .hero h1 { font-size: 42px; }
    .hero-price { padding: 13px; gap: 11px; }
    .hero-price-amount { font-size: 32px; }
    .hero-price small { max-width: 165px; font-size: 10px; }
    .hero-photo { height: 310px; }
    .device-card { display: block; }
    .device-photo { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
    .barcode-transfer-note { align-items: start; padding: 18px; gap: 13px; }
    .comparison-section { padding-block: 45px; }
    .comparison-table th, .comparison-table td { padding: 17px; }
    .auth-scene h2 { font-size: 28px; }
    .auth-scene .eyebrow { font-size: 9px; }
    .auth-scene p { font-size: 12px; }
}
