/* ============ Eurolab — site styles (design tokens from handoff) ============ */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Noto Sans Armenian', sans-serif;
  background: #FFFFFF;
  color: #1C3D5E;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: #24466B; text-decoration: none; }
a:hover { color: #16324E; }
input::placeholder { color: #93A6BC; }
button { font-family: inherit; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

#app { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- top bar ---------- */
.topbar { border-bottom: 1px solid #EEF1F7; background: #F7F8FC; }
.topbar-in {
  max-width: 1200px; margin: 0 auto; padding: 9px 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; font-weight: 600; color: #1C3D5E;
}
.topbar-contacts { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-hours { font-weight: 400; color: #6B7F96; }
.lang-pills { display: flex; gap: 6px; align-items: center; }
.lang-pill {
  border: 1.5px solid transparent; border-radius: 16px; padding: 3px 12px;
  font-size: 12px; font-weight: 500; color: #8A9BB0; cursor: pointer; user-select: none;
}
.lang-pill:hover { border-color: #D6DEEA; }
.lang-pill.active { border-color: #1C3D5E; color: #1C3D5E; font-weight: 700; }

/* ---------- header ---------- */
.site-header { background: #FFFFFF; border-bottom: 1px solid #EEF1F7; position: sticky; top: 0; z-index: 20; }
.site-header-in {
  max-width: 1200px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 36px;
}
.site-logo { height: 52px; cursor: pointer; display: block; }
.site-nav { display: flex; gap: 2px; flex: 1; align-items: center; }
.site-nav a {
  padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  color: #3E5B79; background: transparent; white-space: nowrap;
}
.site-nav a:hover { background: #F0F3FC; }
.site-nav a.active { background: #E9EDFB; color: #24466B; font-weight: 700; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 12px; background: #F0F3FC;
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; padding: 0;
}
.icon-btn:hover { background: #E4EAF8; }
.bell-dot {
  position: absolute; top: 9px; right: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: #E0574F; border: 2px solid #F0F3FC;
}
.cart-badge {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px;
  border-radius: 10px; background: #3FA97C; color: #fff; font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.profile-btn {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px;
  border: none; background: #1C3D5E; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer;
}
.profile-btn:hover { background: #16324E; }

/* ---------- buttons ---------- */
.btn-primary {
  padding: 14px 30px; border-radius: 12px; border: none; background: #1C3D5E; color: #fff;
  font-weight: 700; font-size: 15.5px; cursor: pointer;
}
.btn-primary:hover { background: #16324E; }
.btn-secondary {
  padding: 14px 30px; border-radius: 12px; border: 1.5px solid #D6DEEA; background: #fff;
  color: #1C3D5E; font-weight: 600; font-size: 15.5px; cursor: pointer;
}
.btn-secondary:hover { background: #F0F3FC; }

/* ---------- hero ---------- */
.hero-wrap { position: relative; overflow: hidden; }
.hero {
  position: relative; max-width: 1200px; margin: 0 auto; padding: 56px 32px 40px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero h1 {
  margin: 0 0 34px; font-size: 38px; line-height: 1.25; font-weight: 700; color: #1C3D5E;
  text-wrap: pretty; animation: fadeUp .7s ease both;
}
.hero-steps { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.hero-step { display: flex; gap: 18px; align-items: center; animation: fadeUp .7s ease both; }
.hero-step-n {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 15px; font-weight: 800;
}
.hero-step-t { font-size: 16px; line-height: 1.55; color: #2A4A69; max-width: 460px; }
.hero-ctas { display: flex; gap: 12px; animation: fadeUp .7s ease both; animation-delay: .45s; }
.hero-media { position: relative; height: 460px; animation: fadeUp .8s ease both; animation-delay: .2s; }
.hero-media-back {
  position: absolute; top: 0; right: 26px; width: 88%; height: 88%;
  background: #E9EDFB; border-radius: 28px; animation: floatY 7s ease-in-out infinite;
}
.hero-media-front {
  position: absolute; bottom: 0; right: 0; width: 88%; height: 88%;
  border-radius: 24px; overflow: hidden; box-shadow: 0 18px 44px rgba(28,61,94,.14);
  animation: floatY 7s ease-in-out infinite; animation-delay: .6s;
}
.hero-media-front video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- popular ---------- */
.band { background: #F7F8FC; border-top: 1px solid #EEF1F7; border-bottom: 1px solid #EEF1F7; }
.section { padding-top: 48px; padding-bottom: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-head h2, .section > h2 { margin: 0; font-size: 26px; font-weight: 700; color: #1C3D5E; }
.section > h2 { margin-bottom: 24px; }
.section-head a { font-weight: 600; font-size: 14.5px; }
.pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pop-card {
  position: relative; background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .18s ease;
}
.pop-card:hover { box-shadow: 0 8px 22px rgba(28,61,94,.08); }
.time-chip {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; color: #3FA97C;
  background: #E6F4EC; padding: 4px 10px; border-radius: 12px; white-space: nowrap;
}
.pop-name { font-weight: 700; font-size: 15.5px; color: #1C3D5E; line-height: 1.35; flex: 1; }
.pop-foot { display: flex; justify-content: space-between; align-items: center; }
.pop-price { font-size: 17px; font-weight: 800; color: #1C3D5E; }
.pop-add {
  width: 34px; height: 34px; border-radius: 10px; border: 1.5px solid #1C3D5E; background: #fff;
  color: #1C3D5E; font-weight: 800; font-size: 17px; cursor: pointer; line-height: 1;
}
.pop-add:hover, .pop-add.in-cart { background: #1C3D5E; color: #fff; }

/* ---------- promos ---------- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo-card {
  position: relative; border-radius: 20px; padding: 30px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.promo-title { font-size: 19px; font-weight: 800; color: #1C3D5E; margin-bottom: 6px; }
.promo-desc { font-size: 14px; color: #3E5B79; line-height: 1.5; }
.promo-badge { font-size: 30px; font-weight: 800; white-space: nowrap; }

/* ---------- doctors ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc-card {
  position: relative; background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 18px;
  padding: 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.doc-photo {
  width: 96px; height: 96px; border-radius: 50%; margin-bottom: 10px; overflow: hidden;
  background: #E9EDFB; display: flex; align-items: center; justify-content: center;
  color: #93A6BC; font-size: 12px; flex-shrink: 0;
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-name { font-weight: 700; font-size: 16px; color: #1C3D5E; }
.doc-role { font-size: 13.5px; color: #6B7F96; }

/* ---------- home visit ---------- */
.visit-outer { padding-bottom: 56px; }
.visit-banner {
  position: relative; background: #E9EDFB; border-radius: 24px; padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.visit-title { font-size: 23px; font-weight: 800; color: #1C3D5E; margin-bottom: 8px; }
.visit-desc { font-size: 15px; color: #3E5B79; line-height: 1.55; max-width: 560px; }
.visit-btn {
  padding: 14px 28px; border-radius: 12px; border: none; background: #1C3D5E; color: #fff;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.visit-btn:hover { background: #16324E; }

/* ---------- screens (generic) ---------- */
.screen { animation: fadeUp .5s ease both; }
.screen-pad { padding-top: 40px; padding-bottom: 56px; }
.page-h1 { margin: 0 0 24px; font-size: 30px; font-weight: 800; color: #1C3D5E; }
.page-sub { margin: -18px 0 28px; font-size: 14.5px; color: #6B7F96; }

/* ---------- catalog ---------- */
.search-row { display: flex; gap: 12px; margin-bottom: 18px; }
.search-box {
  flex: 1; display: flex; align-items: center; gap: 10px; background: #F7F8FC;
  border: 1.5px solid #E7ECF4; border-radius: 14px; padding: 12px 18px;
}
.search-box input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 15px; color: #1C3D5E; min-width: 0;
}
.cat-chips { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.cat-chip {
  font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 20px; cursor: pointer;
  background: #F7F8FC; color: #3E5B79; border: 1.5px solid #E7ECF4; user-select: none;
}
.cat-chip.active { background: #1C3D5E; color: #FFFFFF; border-color: #1C3D5E; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.item-row {
  background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 14px; padding: 16px 22px;
  display: flex; align-items: center; gap: 20px; transition: box-shadow .18s ease;
}
.item-row:hover { box-shadow: 0 6px 18px rgba(28,61,94,.07); }
.item-main { flex: 1; min-width: 0; }
.item-name { font-weight: 700; font-size: 15.5px; color: #1C3D5E; }
.item-meta { font-size: 12.5px; color: #8A9BB0; margin-top: 3px; }
.row-time-chip {
  font-size: 12px; font-weight: 700; color: #3FA97C; background: #E6F4EC;
  padding: 5px 12px; border-radius: 12px; white-space: nowrap;
}
.item-price { font-size: 16.5px; font-weight: 800; color: #1C3D5E; min-width: 90px; text-align: right; white-space: nowrap; }
.add-btn {
  padding: 9px 20px; border-radius: 10px; border: 1.5px solid #1C3D5E; background: #fff;
  color: #1C3D5E; font-weight: 700; font-size: 13px; cursor: pointer; min-width: 118px; white-space: nowrap;
}
.add-btn.in-cart { background: #1C3D5E; color: #fff; }

/* ---------- narrow page widths ---------- */
.narrow-1000 { max-width: 1000px; }
.narrow-1100 { max-width: 1100px; }
.narrow-860 { max-width: 860px; }

/* ---------- cart ---------- */
.cart-empty {
  background: #F7F8FC; border: 1.5px dashed #D6DEEA; border-radius: 18px;
  padding: 56px; text-align: center;
}
.cart-empty-title { font-size: 17px; font-weight: 700; color: #1C3D5E; margin-bottom: 6px; }
.cart-empty-sub { font-size: 14px; color: #6B7F96; margin-bottom: 20px; }
.cart-go {
  padding: 12px 26px; border-radius: 12px; border: none; background: #1C3D5E; color: #fff;
  font-weight: 700; font-size: 14.5px; cursor: pointer;
}
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.cart-item-price { font-size: 15.5px; font-weight: 800; color: #1C3D5E; white-space: nowrap; }
.cart-remove {
  width: 32px; height: 32px; border-radius: 9px; border: 1.5px solid #E7ECF4; background: #fff;
  color: #B44A44; font-weight: 700; cursor: pointer; font-size: 15px; line-height: 1; flex-shrink: 0;
}
.cart-remove:hover { background: #FBEDEC; border-color: #F0CFCC; }
.cart-summary { background: #F7F8FC; border: 1px solid #E7ECF4; border-radius: 18px; padding: 26px; }
.cart-summary-title { font-weight: 800; font-size: 17px; color: #1C3D5E; margin-bottom: 18px; }
.cart-line { display: flex; justify-content: space-between; font-size: 14px; color: #3E5B79; margin-bottom: 10px; }
.cart-total {
  border-top: 1.5px solid #E1E7F0; padding-top: 14px; display: flex; justify-content: space-between;
  font-size: 17px; font-weight: 800; color: #1C3D5E; margin-bottom: 20px; margin-top: 16px;
}
.checkout-btn {
  width: 100%; padding: 14px; border-radius: 12px; border: none; background: #3FA97C; color: #fff;
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.checkout-btn:hover { background: #35916A; }

/* ---------- profile ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 24px; align-items: start; }
.avatar-card {
  background: #F7F8FC; border: 1px solid #E7ECF4; border-radius: 18px; padding: 30px; text-align: center;
}
.avatar-circle {
  width: 88px; height: 88px; border-radius: 50%; background: #E9EDFB; color: #24466B;
  font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.avatar-name { font-weight: 800; font-size: 17px; color: #1C3D5E; }
.avatar-sub { font-size: 13px; color: #6B7F96; margin-top: 4px; }
.profile-right { display: flex; flex-direction: column; gap: 12px; }
.data-card { background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 16px; padding: 22px 26px; }
.data-card-title { font-weight: 700; font-size: 15px; color: #1C3D5E; margin-bottom: 14px; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; font-size: 14px; }
.data-label { color: #8A9BB0; font-size: 12px; margin-bottom: 3px; }
.data-value { color: #1C3D5E; font-weight: 600; }
.link-row {
  background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 16px; padding: 18px 26px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.link-row:hover { background: #F7F8FC; }
.link-row-t { font-weight: 700; font-size: 15px; color: #1C3D5E; }
.link-row-a { color: #8A9BB0; }

/* ---------- notifications ---------- */
.notif-row {
  background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 14px; padding: 18px 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.notif-row.unread { background: #F3FAF6; }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.notif-title { font-weight: 700; font-size: 14.5px; color: #1C3D5E; }
.notif-body { font-size: 13.5px; color: #3E5B79; margin-top: 4px; line-height: 1.5; }
.notif-when { font-size: 12px; color: #8A9BB0; white-space: nowrap; }

/* ---------- footer ---------- */
.site-footer { background: #1C3D5E; color: #B9C9DC; position: relative; }
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 40px 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; font-size: 14px;
}
.footer-brand { font-weight: 800; font-size: 19px; color: #FFFFFF; letter-spacing: 2px; margin-bottom: 12px; }
.footer-about { line-height: 1.65; max-width: 340px; }
.footer-col-title { font-weight: 700; color: #FFFFFF; margin-bottom: 12px; }
.footer-lines { line-height: 1.9; white-space: pre-line; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 16px;
  font-size: 12.5px; color: #7E93AB;
}

/* ---------- thematic pages ---------- */
.photo-slot {
  background: #E9EDFB; border-radius: 24px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; color: #93A6BC;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.photo-slot .ph-icon { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.about-intro { font-size: 17px; line-height: 1.6; color: #2A4A69; font-weight: 600; margin-bottom: 16px; }
.about-text { font-size: 15px; line-height: 1.7; color: #3E5B79; white-space: pre-line; }
.about-photo { height: 340px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 48px; }
.stat-card { background: #F7F8FC; border: 1px solid #E7ECF4; border-radius: 16px; padding: 24px 20px; text-align: center; }
.stat-num { font-size: 28px; font-weight: 800; color: #1C3D5E; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: #6B7F96; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  position: relative; background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 18px; padding: 26px;
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; background: #E9EDFB;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature-title { font-weight: 700; font-size: 15.5px; color: #1C3D5E; margin-bottom: 6px; }
.feature-desc { font-size: 13.5px; color: #6B7F96; line-height: 1.55; }

/* offers page */
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card {
  position: relative; background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 18px;
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: box-shadow .18s ease;
}
.article-card:hover { box-shadow: 0 8px 22px rgba(28,61,94,.08); }
.article-img { height: 160px; border-radius: 0; }
.article-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-date { font-size: 12px; color: #8A9BB0; }
.article-title { font-weight: 700; font-size: 15.5px; color: #1C3D5E; line-height: 1.4; }
.article-excerpt { font-size: 13.5px; color: #3E5B79; line-height: 1.55; flex: 1; }
.article-more { font-size: 13.5px; font-weight: 600; color: #24466B; }
.article-detail { max-width: 800px; }
.article-detail-img { height: 320px; margin-bottom: 28px; }
.article-detail-text { font-size: 15.5px; line-height: 1.75; color: #2A4A69; white-space: pre-line; }
.back-link { display: inline-block; font-weight: 600; font-size: 14px; margin-bottom: 22px; cursor: pointer; }

/* doctors page */
.docpage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.docpage-card {
  position: relative; background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 18px;
  padding: 30px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.docpage-photo {
  width: 120px; height: 120px; border-radius: 50%; margin-bottom: 12px; overflow: hidden;
  background: #E9EDFB; display: flex; align-items: center; justify-content: center;
  color: #93A6BC; font-size: 12px; flex-shrink: 0; position: relative;
}
.docpage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.docpage-desc { font-size: 13.5px; color: #3E5B79; line-height: 1.55; }

/* doctor profile */
.docprof-card {
  background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 20px; padding: 36px;
  display: flex; gap: 36px; align-items: flex-start; margin-bottom: 24px; position: relative;
}
.docprof-photo {
  width: 170px; height: 170px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: #E9EDFB; display: flex; align-items: center; justify-content: center; color: #93A6BC; font-size: 12px;
}
.docprof-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.docprof-name { font-size: 24px; font-weight: 800; color: #1C3D5E; margin-bottom: 6px; }
.docprof-role { font-size: 15px; color: #3E5B79; font-weight: 600; margin-bottom: 4px; }
.docprof-exp { font-size: 14px; color: #6B7F96; margin-bottom: 18px; }
.docprof-langs {
  background: #F7F8FC; border: 1px solid #E7ECF4; border-radius: 14px; padding: 14px 20px; margin-bottom: 20px;
}
.docprof-langs-lbl { font-weight: 700; font-size: 13.5px; color: #1C3D5E; margin-bottom: 4px; }
.docprof-langs-val { font-size: 14px; color: #3E5B79; }
.docprof-edu {
  background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 20px; padding: 30px 36px;
  font-size: 14.5px; line-height: 1.9; color: #2A4A69; white-space: pre-line;
}
.docpage-exp { font-size: 12.5px; color: #8A9BB0; }
.docpage-book {
  margin-top: 10px; padding: 11px 26px; border-radius: 12px; border: none; background: #1C3D5E;
  color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
}
.docpage-book:hover { background: #16324E; }

/* visit page */
.visit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.visit-photo { height: 340px; }
.visit-note {
  background: #FBF3DF; border-radius: 16px; padding: 18px 24px; font-size: 14px; color: #2A4A69;
  font-weight: 600; line-height: 1.55;
}

/* home-visit request form */
.req-form {
  background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 20px;
  padding: 30px 32px; margin-top: 28px;
}
.req-form h2 { margin: 0 0 4px; font-size: 21px; font-weight: 800; color: #1C3D5E; }
.req-sub { font-size: 14px; color: #6B7F96; margin-bottom: 22px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 18px; }
.req-field label {
  display: block; font-size: 12.5px; font-weight: 700; color: #6B7F96; margin-bottom: 6px;
}
.req-field input, .req-field textarea {
  width: 100%; border: 1.5px solid #D6DEEA; border-radius: 12px; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: #1C3D5E; outline: none; background: #fff;
}
.req-field textarea { resize: vertical; min-height: 74px; }
.req-field input:focus, .req-field textarea:focus { border-color: #3FA97C; }
.req-field.full { grid-column: 1 / -1; }
.req-tests {
  max-height: 190px; overflow-y: auto; border: 1.5px solid #D6DEEA; border-radius: 12px;
  padding: 10px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; background: #fff;
}
/* higher specificity than `.req-field label`, which would otherwise force display:block */
.req-tests label.req-test {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: #2A4A69; line-height: 1.4;
  margin: 0; padding: 6px 0; cursor: pointer;
}
.req-tests label.req-test input {
  width: 17px; height: 17px; accent-color: #3FA97C;
  flex: 0 0 17px; margin: 0; cursor: pointer;
}
.req-tests label.req-test span { min-width: 0; }
.req-hint { font-size: 11.5px; color: #8A9BB0; margin-top: 6px; }
.req-bottom { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.req-captcha { display: flex; align-items: center; gap: 10px; }
.req-captcha-q {
  background: #F7F8FC; border: 1.5px solid #E7ECF4; border-radius: 10px;
  padding: 11px 14px; font-weight: 800; font-size: 15px; color: #1C3D5E; white-space: nowrap;
}
.req-captcha input { width: 86px; }
.req-submit {
  padding: 14px 30px; border-radius: 12px; border: none; background: #3FA97C; color: #fff;
  font-weight: 700; font-size: 15px; cursor: pointer; margin-left: auto;
}
.req-submit:hover { background: #35916A; }
.req-submit:disabled { opacity: .6; cursor: default; }
.req-msg { font-size: 13.5px; font-weight: 600; margin-top: 14px; }
.req-msg.err { color: #B44A44; }
.req-ok {
  background: #F3FAF6; border: 1.5px solid #3FA97C; border-radius: 18px;
  padding: 34px; text-align: center; margin-top: 28px;
}
.req-ok-title { font-size: 19px; font-weight: 800; color: #3FA97C; margin-bottom: 8px; }
.req-ok-text { font-size: 14.5px; color: #2A4A69; }
.req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* news */
.news-row {
  background: #FFFFFF; border: 1px solid #E7ECF4; border-radius: 14px; padding: 18px 22px;
  display: flex; gap: 16px; align-items: flex-start; position: relative;
}
.news-dot { width: 9px; height: 9px; border-radius: 50%; background: #3FA97C; margin-top: 7px; flex-shrink: 0; }
.news-title { font-weight: 700; font-size: 15px; color: #1C3D5E; }
.news-body { font-size: 13.5px; color: #3E5B79; margin-top: 4px; line-height: 1.55; }
.news-date { font-size: 12px; color: #8A9BB0; white-space: nowrap; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .hero-media { height: 380px; }
  .pop-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header-in { gap: 18px; }
  .site-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
  .container, .topbar-in, .site-header-in, .footer-grid { padding-left: 18px; padding-right: 18px; }
  .topbar-in { flex-direction: column; gap: 8px; align-items: flex-start; }
  .topbar-contacts { gap: 12px; }
  .site-header-in { padding-top: 10px; padding-bottom: 10px; }
  .site-logo { height: 40px; }
  .profile-btn span { display: none; }
  .profile-btn { padding: 10px 12px; }
  .hero h1 { font-size: 28px; margin-bottom: 24px; }
  .hero { padding-top: 32px; gap: 28px; }
  .hero-media { height: 300px; max-width: 100vw; }
  .hero-step-n { width: 44px; height: 44px; font-size: 13px; }
  .hero-step-t { font-size: 14.5px; }
  .hero-ctas { flex-wrap: wrap; }
  .pop-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .visit-banner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .cart-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .item-row { flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px; }
  .item-main { flex-basis: 100%; }
  .item-price { min-width: 0; }
  .section { padding-top: 34px; padding-bottom: 34px; }
  .page-h1 { font-size: 25px; }
  .cart-empty { padding: 36px 20px; }
  .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 24px; }
  .docprof-card { flex-direction: column; align-items: center; text-align: center; padding: 26px 20px; }
  .docprof-edu { padding: 22px 20px; }
  .req-form { padding: 22px 18px; }
  .req-grid { grid-template-columns: 1fr; }
  .req-tests { grid-template-columns: 1fr; }
  .req-bottom { flex-direction: column; align-items: stretch; }
  .req-submit { margin-left: 0; width: 100%; }
  .about-photo, .visit-photo { height: 220px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .article-grid, .docpage-grid { grid-template-columns: 1fr; }
  .offer-list { grid-template-columns: 1fr; }
  .article-detail-img { height: 180px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .feature-grid, .article-grid, .docpage-grid { grid-template-columns: repeat(2, 1fr); }
}
