/* Елан Фарм эмийн сан — warm retail pharmacy look (logo teal + red) */
:root {
  --teal: #01858c;
  --teal-2: #016a70;
  --teal-3: #003f43;
  --teal-soft: #e3f4f4;
  --red: #ec1d24;
  --red-2: #c9141a;
  --leaf: #6cbf3a;
  --cream: #fbf8f3;
  --ink: #10292b;
  --text: #2c4648;
  --text-2: #5f7778;
  --muted: #93a6a7;
  --line: #e7ecea;
  --radius: 22px;
  --shadow: 0 26px 56px -34px rgba(0, 63, 67, .45);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font: 16.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; left: -9999px; }
.sr-only:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; border: 0; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background .2s, box-shadow .25s; box-shadow: 0 14px 28px -14px rgba(236, 29, 36, .8); }
.btn:hover { transform: translateY(-2px); background: var(--red-2); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--teal { background: var(--teal); box-shadow: 0 14px 28px -14px rgba(1, 133, 140, .8); }
.btn--teal:hover { background: var(--teal-2); }
.btn--line { background: #fff; color: var(--teal-3); border: 1.5px solid var(--line); box-shadow: none; }
.btn--line:hover { background: var(--teal-soft); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }

/* top + header */
.topbar { background: var(--teal-3); color: #b9dcdd; font-size: 13.5px; }
.topbar .wrap { display: flex; gap: 20px; align-items: center; height: 38px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar .sp { flex: 1; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-color: var(--line); background: rgba(255, 255, 255, .95); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand b { display: block; font-size: 22px; font-weight: 700; color: var(--teal); line-height: 1; letter-spacing: -.01em; }
.brand b span { color: var(--red); }
.brand small { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 500; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; color: var(--text-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--teal-soft); color: var(--teal-3); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--teal); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--cream); padding: 130px 24px 40px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .3s; }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-weight: 600; font-size: 24px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(1, 133, 140, .14), transparent 65%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 64px 0 80px; }
.badge-line { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text-2); }
.badge-line b { background: var(--teal); color: #fff; font-weight: 600; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.hero h1 { font-weight: 700; font-size: clamp(36px, 5vw, 62px); line-height: 1.06; letter-spacing: -.025em; margin: 20px 0 18px; color: var(--ink); }
.hero h1 .t { color: var(--teal); }
.hero h1 .r { color: var(--red); }
.hero .lead { font-size: 18.5px; color: var(--text-2); margin: 0 0 28px; max-width: 32em; }
.hero-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; justify-self: center; width: min(430px, 100%); }
.arch { aspect-ratio: 3 / 4.1; border-radius: 220px 220px 30px 30px; overflow: hidden; box-shadow: var(--shadow); background: var(--teal-soft); border: 8px solid #fff; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.logo-seal { position: absolute; left: -34px; top: 46%; width: 110px; height: 110px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.logo-seal img { width: 70px; }
.note { position: absolute; right: -24px; bottom: 34px; background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); animation: bob 6s ease-in-out -3s infinite; }
.note .ic { width: 42px; height: 42px; border-radius: 12px; background: #fde8e8; color: var(--red); display: grid; place-items: center; flex: none; }
.note .ic svg { width: 22px; height: 22px; }
.note b { display: block; font-size: 15px; color: var(--ink); }
.note span { font-size: 13px; color: var(--text-2); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* promise strip */
.promise { background: var(--teal); color: #fff; }
.promise .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.pr { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid rgba(255, 255, 255, .15); }
.pr:first-child { border-left: 0; }
.pr .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; }
.pr .ic svg { width: 24px; height: 24px; }
.pr b { display: block; font-weight: 600; }
.pr span { font-size: 13.5px; color: #c5e6e7; }

/* sections */
section { scroll-margin-top: 90px; }
.sec { padding: 96px 0; }
.sec--white { background: #fff; }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.h2 .t { color: var(--teal); }
.sub { margin: 0; color: var(--text-2); font-size: 18px; }

/* health day */
.event { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, var(--teal-3), var(--teal)); color: #fff; box-shadow: var(--shadow); }
.event-body { padding: 46px 44px; display: grid; gap: 18px; align-content: center; }
.event .eyebrow { color: #ffd2d3; }
.event h2 { margin: 0; font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; }
.event p { margin: 0; color: #cdeaea; }
.event ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.event li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.event li svg { width: 22px; height: 22px; color: #9df0a8; flex: none; }
.past { display: flex; gap: 10px; flex-wrap: wrap; }
.past span { font-size: 13.5px; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 6px 12px; }
.event-img { position: relative; min-height: 380px; }
.event-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-img .free { position: absolute; left: 22px; top: 22px; background: var(--red); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 14px; font-size: 18px; transform: rotate(-4deg); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }

/* product shelf */
.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; color: var(--text-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod[hidden] { display: none; }
.pv { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; }
.pv img { width: 100%; height: 100%; object-fit: cover; }
.pv .mono { font-weight: 800; font-size: 34px; letter-spacing: -.02em; color: #fff; text-align: center; line-height: 1; padding: 0 12px; }
.pv .mono small { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; margin-top: 8px; opacity: .85; }
.pv .new { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--red); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.g1 { background: linear-gradient(135deg, #01858c, #35b6a7); }
.g2 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.g3 { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.g4 { background: linear-gradient(135deg, #ec1d24, #f43f5e); }
.g5 { background: linear-gradient(135deg, #16a34a, #84cc16); }
.g6 { background: linear-gradient(135deg, #0f766e, #0e7490); }
.g7 { background: linear-gradient(135deg, #be123c, #7f1d1d); }
.g8 { background: linear-gradient(135deg, #ea580c, #facc15); }
.pb { padding: 18px 18px 20px; display: grid; gap: 8px; flex: 1; }
.pb .cat { font-size: 12.5px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.pb h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.pb p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.pb .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pb .tags span { font-size: 12px; background: var(--teal-soft); color: var(--teal-2); padding: 3px 9px; border-radius: 999px; font-weight: 500; }
.pb .ask { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.pb .ask a { color: var(--red); font-weight: 600; text-decoration: none; }
.lac { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.lac .big { font-weight: 800; font-size: 54px; color: var(--teal); line-height: 1; }
.lac .big small { display: block; font-size: 14px; font-weight: 500; color: var(--text-2); margin-top: 6px; }
.lac h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.lac p { margin: 0; color: var(--text-2); }
.flags { margin-top: 10px; font-size: 22px; letter-spacing: 4px; }

/* safety */
.safety { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.safety-img { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.safety-img img { width: 100%; height: 100%; object-fit: cover; }
.rights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 24px 0; }
.right { background: var(--teal-soft); border-radius: 18px; padding: 16px 10px; text-align: center; }
.right b { display: block; font-size: 26px; font-weight: 800; color: var(--teal); line-height: 1; }
.right span { display: block; font-size: 13.5px; font-weight: 600; color: var(--teal-3); margin-top: 6px; }
.dos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dos li { display: flex; gap: 12px; color: var(--text); }
.dos li svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 1px; }
.warn { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: #fde8e8; color: var(--red-2); font-weight: 600; padding: 14px 16px; border-radius: 16px; }
.warn svg { width: 24px; height: 24px; flex: none; }

/* branches */
.branches { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 18px; align-items: stretch; }
.branch { background: #fff; border-radius: 24px; border: 2px solid var(--line); padding: 26px; display: grid; gap: 10px; align-content: start; text-align: left; }
.branch[aria-pressed="true"] { border-color: var(--teal); box-shadow: var(--shadow); }
.branch .kind { justify-self: start; font-size: 12.5px; font-weight: 600; color: #fff; background: var(--teal); padding: 4px 12px; border-radius: 999px; }
.branch .kind.m { background: var(--red); }
.branch h3 { margin: 0; font-size: 21px; color: var(--ink); }
.branch p { margin: 0; color: var(--text-2); }
.branch .tel { font-weight: 700; font-size: 19px; color: var(--teal-3); text-decoration: none; }
.map { border-radius: 24px; overflow: hidden; min-height: 320px; background: var(--teal-soft); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.deliver { margin-top: 18px; display: flex; gap: 16px; align-items: center; background: #fff; border: 1px dashed var(--teal); border-radius: 20px; padding: 18px 22px; }
.deliver svg { width: 34px; height: 34px; color: var(--teal); flex: none; }
.deliver b { color: var(--ink); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.contact-img { position: relative; min-height: 360px; }
.contact-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-body { padding: 42px 40px; display: grid; gap: 14px; align-content: center; }
.tel-row { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--cream); text-decoration: none; transition: background .2s; }
.tel-row:hover { background: var(--teal-soft); }
.tel-row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.tel-row:nth-child(odd) .ic { background: var(--red); }
.tel-row .ic svg { width: 22px; height: 22px; }
.tel-row b { display: block; font-size: 20px; color: var(--ink); }
.tel-row span { font-size: 13.5px; color: var(--text-2); }

.site-footer { background: var(--teal-3); color: #a9cfd0; padding: 50px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer .brand { background: #fff; border-radius: 16px; padding: 10px 14px; display: inline-flex; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 18px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(236, 29, 36, .8); }
.float-call svg { width: 26px; height: 26px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
  .hero .wrap, .event, .safety, .contact { grid-template-columns: minmax(0, 1fr); }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .promise .wrap { grid-template-columns: 1fr 1fr; }
  .pr:nth-child(3) { border-left: 0; }
  .branches { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; }
  .lac { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar .hide-sm { display: none; }
  .header-cta .btn { display: none; }
  .hero .wrap { padding: 40px 0 60px; gap: 40px; }
  .logo-seal { left: -6px; width: 84px; height: 84px; }
  .logo-seal img { width: 54px; }
  .note { right: 0; }
  .promise .wrap { grid-template-columns: 1fr; }
  .pr { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding: 18px 4px; }
  .sec { padding: 68px 0; }
  .event-body, .contact-body { padding: 30px 24px; }
  .shelf, .branches { grid-template-columns: 1fr; }
  .rights { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr; }
}
