* { box-sizing: border-box; }
:root { --ink: #18312f; --muted: #6d7e7a; --paper: #f4f7f5; --surface: #fff; --line: #dbe7e2; --teal: #126b68; --teal-dark: #0b4f4d; --teal-soft: #e4f1ed; --amber: #a96318; --amber-soft: #fff0d9; --coral: #d56f4b; --shadow: 0 14px 34px rgba(24,49,47,.08); }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; }
.home-header { background: var(--teal-dark); color: #fff; }
.home-nav { width: min(1180px, calc(100% - 32px)); margin: auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.home-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 700; }
.home-brand-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: #f2b28c; font-size: 1.2rem; }
.home-nav-links { display: flex; align-items: center; gap: 1.4rem; color: rgba(255,255,255,.72); font-size: .86rem; }
.home-nav-links a { text-decoration: none; }
.home-nav-links a:hover { color: #fff; }
.home-hero { width: min(1180px, calc(100% - 32px)); min-height: 320px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 4rem 0 4.4rem; }
.home-hero-copy { max-width: 700px; }
.home-eyebrow, .home-hero-meta { display: flex; align-items: center; gap: .45rem; color: #f2b28c; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.home-hero h1 { max-width: 690px; margin: .8rem 0 1rem; font-family: 'Manrope', sans-serif; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.home-hero p { max-width: 510px; margin: 0 0 1.6rem; color: rgba(255,255,255,.74); font-size: 1.05rem; line-height: 1.6; }
.home-hero-meta { gap: 1.2rem; color: rgba(255,255,255,.58); font-weight: 500; }
.home-visitor-stats { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.home-stat-box { display: inline-flex; align-items: center; gap: .7rem; min-width: 170px; padding: .8rem .9rem; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.home-stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: #f2b28c; background: rgba(242,178,140,.12); font-size: 1.15rem; }
.home-stat-box strong { display: block; color: #fff; font-size: 1.08rem; font-weight: 800; letter-spacing: -.03em; }
.home-stat-box small { display: block; margin-top: .12rem; color: rgba(255,255,255,.7); font-size: .72rem; }
.home-hero-symbol { width: 170px; height: 170px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: rgba(242,178,140,.9); font-size: 4.5rem; box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 36px rgba(255,255,255,.025); }
.home-main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 3.1rem 0 4rem; }
.home-section { margin-bottom: 3.3rem; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.home-label { display: block; margin-bottom: .4rem; color: var(--coral); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.home-label-amber { color: var(--amber); }
.home-section h2 { margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -.04em; }
.home-count { flex: 0 0 auto; padding: .38rem .7rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: #fff; font-size: .75rem; font-weight: 700; }
.home-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pharmacy-card { min-width: 0; padding: 1.2rem; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.pharmacy-card-today { border-top-color: var(--amber); }
.pharmacy-card-status { margin-bottom: .75rem; color: var(--teal); font-size: .78rem; font-weight: 800; }
.pharmacy-card-today .pharmacy-card-status { color: var(--amber); }
.pharmacy-card h3 { margin: 0 0 .8rem; overflow: hidden; font-family: 'Manrope', sans-serif; font-size: 1.25rem; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.pharmacy-time { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .8rem; padding: .42rem .6rem; border-radius: 7px; color: var(--teal-dark); background: var(--teal-soft); font-size: .84rem; font-weight: 700; }
.pharmacy-card-today .pharmacy-time { color: #81490f; background: var(--amber-soft); }
.pharmacy-location { min-height: 2.7rem; }
.pharmacy-address, .pharmacy-directions { display: flex; align-items: flex-start; gap: .45rem; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.pharmacy-address i { flex: 0 0 auto; margin-top: .15rem; color: var(--coral); }
.pharmacy-directions { margin-top: .45rem; padding-top: .45rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .8rem; }
.pharmacy-directions i { flex: 0 0 auto; margin-top: .15rem; color: var(--teal); }
.pharmacy-closing-warning { display: flex; align-items: flex-start; gap: .55rem; margin: 0 0 .8rem; padding: .7rem .75rem; border: 1px solid #efc27f; border-left: 3px solid #c87516; border-radius: 8px; color: #74440f; background: #fff5e3; font-size: .8rem; line-height: 1.4; }
.pharmacy-closing-warning i { flex: 0 0 auto; margin-top: .1rem; color: #c87516; }
.pharmacy-actions { display: flex; gap: .55rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 0; flex: 1 1 0; padding: .58rem .7rem; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: .8rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.home-button-light { border-color: #b8d1c9; color: var(--teal-dark); background: #fff; }
.home-button-solid { border-color: var(--teal); color: #fff; background: var(--teal); }
.home-button-coral { border-color: var(--coral); color: #fff; background: var(--coral); }
.home-button:hover { filter: brightness(.96); }
.home-empty { display: flex; align-items: center; gap: .7rem; padding: 1.05rem 1.2rem; border: 1px dashed #b9cec7; border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.7); }
.home-empty i { color: var(--teal); font-size: 1.3rem; }
.home-empty strong { color: var(--ink); }
.upcoming-list { display: flex; flex-direction: column; gap: .55rem; padding: .75rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); }
.upcoming-row { display: grid; grid-template-columns: 78px minmax(0,1fr) auto; align-items: center; gap: 1rem; min-width: 0; padding: .78rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.upcoming-date { display: flex; flex-direction: column; gap: .15rem; padding-right: .75rem; border-right: 1px solid var(--line); color: var(--teal); }
.upcoming-date strong { font-size: .95rem; }
.upcoming-date span, .upcoming-details span { color: var(--muted); font-size: .76rem; }
.upcoming-details { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.upcoming-details strong { overflow: hidden; font-size: .93rem; text-overflow: ellipsis; white-space: nowrap; }
.home-button-small { flex: 0 0 auto; padding: .45rem .7rem; font-size: .78rem; }
.home-footer { padding: 3.2rem 0 1.2rem; color: rgba(255,255,255,.7); background: var(--teal-dark); }
.home-footer-inner { width: min(1180px, calc(100% - 32px)); margin: auto; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 2rem; }
.home-footer-brand strong { color: #fff; font-family: 'Manrope', sans-serif; font-size: 1.05rem; }
.home-footer p { margin: .55rem 0 0; font-size: .82rem; line-height: 1.55; }
.home-footer-column { display: flex; flex-direction: column; gap: .48rem; min-width: 0; }
.home-footer-column h3 { margin: 0 0 .45rem; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-footer-column a, .home-footer-column span { display: flex; align-items: flex-start; gap: .45rem; color: rgba(255,255,255,.7); font-size: .8rem; line-height: 1.45; text-decoration: none; }
.home-footer-column a:hover, .home-footer-socials a:hover, .home-footer-links a:hover { color: #f2b28c; }
.home-footer-column i { flex: 0 0 auto; margin-top: .12rem; color: #f2b28c; }
.home-footer-source { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.14); }
.home-footer-source p { margin: 0; color: rgba(255,255,255,.62); }
.home-source-link { margin-top: .2rem; color: #f2b28c !important; font-weight: 700; }
.home-footer-socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.home-social-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: #f2b28c; background: rgba(255,255,255,.07); font-size: 1rem; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.home-social-icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.home-social-icon:hover { border-color: #f2b28c; color: #fff; background: rgba(242,178,140,.18); transform: translateY(-2px); }
.home-footer-bottom { width: min(1180px, calc(100% - 32px)); margin: 2.5rem auto 0; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.52); font-size: .75rem; }
.home-footer-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .78rem; }
.home-footer-links a { color: rgba(255,255,255,.62); text-decoration: none; }
.home-map-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(11,79,77,.72); }
.home-map-modal.is-open { display: flex; }
.home-map-dialog { width: min(900px, 100%); height: min(680px, 92vh); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.home-map-header { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; color: #fff; background: var(--teal-dark); }
.home-map-header button { border: 0; color: #fff; background: transparent; font-size: 1.1rem; cursor: pointer; }
.home-map-body { height: calc(100% - 58px); }
.home-map-body iframe { width: 100%; height: 100%; border: 0; }
.home-map-tabs { display: flex; gap: .45rem; padding: .7rem; border-bottom: 1px solid var(--line); background: #f7faf8; }
.home-map-tabs button { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.home-map-tabs button.is-active { border-color: var(--teal); color: #fff; background: var(--teal); }
.home-map-panel { display: none; height: calc(100% - 57px); }
.home-map-panel.is-active { display: block; }
.home-ad-zone { width: min(100%, 980px); margin: 1.35rem auto 2.2rem; }
.home-ad-zone-header { margin-top: 0; }
.home-ad-zone-footer { margin: 2.2rem auto 0; }
.home-ad { position: relative; display: block; overflow: hidden; border: 1px solid #d5e3de; border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 7px 22px rgba(24,49,47,.07); text-decoration: none; }
.home-ad::before { content: 'DUYURU'; position: absolute; top: .65rem; left: .7rem; z-index: 2; padding: .2rem .4rem; border-radius: 4px; color: var(--teal-dark); background: rgba(255,255,255,.9); font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.home-ad + .home-ad { margin-top: .8rem; }
.home-ad-text { display: flex; flex-direction: column; gap: .28rem; padding: 1rem 1.1rem; border-left: 3px solid var(--coral); font-size: .84rem; line-height: 1.5; }
.home-ad-text strong, .home-ad-caption strong { color: var(--teal); font-size: .9rem; }
.home-ad-text span, .home-ad-caption span { color: var(--muted); }
.home-ad-media { display: flex; align-items: center; justify-content: center; min-height: 110px; background: #edf4f1; }
.home-ad img { display: block; width: 100%; max-height: 260px; object-fit: contain; }
.home-ad-video { aspect-ratio: 16 / 7; min-height: 0; }
.home-ad iframe { display: block; width: 100%; height: 100%; border: 0; }
.home-ad-caption { display: flex; flex-direction: column; gap: .2rem; padding: .75rem .95rem .85rem; font-size: .8rem; line-height: 1.4; }
.home-sticky-ad { position: fixed; right: 1rem; bottom: 1rem; z-index: 1000; width: min(340px, calc(100vw - 2rem)); }
.home-sticky-ad .home-ad { box-shadow: 0 14px 34px rgba(24,49,47,.2); }
.home-sticky-ad .home-ad-media { min-height: 80px; }
.home-sticky-ad .home-ad::before { content: 'REKLAM'; }
@media (max-width: 900px) { .home-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-footer-source { padding-left: 0; border-left: 0; } }
@media (max-width: 760px) { .home-nav-links { display: none; } .home-hero { min-height: 0; padding: 3.2rem 0; } .home-hero-symbol { display: none; } .home-visitor-stats { gap: .6rem; } .home-stat-box { min-width: 0; flex: 1 1 calc(50% - .6rem); } .home-card-grid { grid-template-columns: 1fr; } .home-main { padding-top: 2.3rem; } .home-footer-inner { align-items: flex-start; grid-template-columns: 1fr; gap: 1.5rem; } .home-footer-bottom { align-items: flex-start; flex-direction: column; } }
@media (max-width: 560px) { .pharmacy-actions { flex-wrap: wrap; } .pharmacy-actions .home-button { flex: 1 1 calc(50% - .3rem); } .pharmacy-actions .home-button-solid, .pharmacy-actions .home-button-coral { flex-basis: 100%; } }
@media (max-width: 480px) { .home-nav, .home-hero, .home-main, .home-footer-inner { width: min(100% - 24px, 1180px); } .home-section-head { align-items: flex-start; } .home-count { font-size: .68rem; } .upcoming-row { grid-template-columns: 62px minmax(0,1fr) auto; gap: .6rem; padding: .65rem; } .upcoming-date { padding-right: .5rem; } .home-button-small { padding: .45rem .55rem; } .home-button-small span { display: none; } }
@media (max-width: 560px) { .home-sticky-ad { right: .6rem; bottom: .6rem; width: calc(100vw - 1.2rem); } .home-ad-video { aspect-ratio: 16 / 9; } .home-ad img { max-height: 190px; } }
