/* ==========================================================================
   The home page
   ========================================================================== */

/* ---- hero: the hospital's own words, a question, and its people ---- */
.hero { position: relative; overflow: clip; padding: clamp(2rem, 1rem + 4vw, 5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 160, 152, 0.13), rgba(0, 160, 152, 0.04) 60%, transparent); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
.hero__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-content: center; }
.hero__title { font: 350 var(--t-hero)/0.98 var(--f-display); font-variation-settings: "opsz" 144; letter-spacing: -0.035em; text-wrap: balance; }
.hero__title em { font-weight: 350; }
.hero__lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); max-width: 34rem; }
@media (max-width: 980px) { .hero__in { grid-template-columns: minmax(0, 1fr); } }

/* the question box */
.ask { position: relative; margin-top: 0.4rem; max-width: 36rem; }
.ask__label { display: block; margin-bottom: 0.7rem; font: 650 0.92rem/1 var(--f-body); color: var(--ink); }
.ask__field { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.45rem 0.45rem 1.2rem; border-radius: 999px; background: var(--white);
  box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -26px rgba(11, 57, 54, 0.5); transition: box-shadow var(--d-base) var(--e-out); cursor: text; }
.ask__field:focus-within, .ask__field:hover { box-shadow: 0 0 0 2px var(--teal), 0 22px 46px -26px rgba(11, 57, 54, 0.55); }
.ask__field .icon { width: 1.35rem; height: 1.35rem; color: var(--teal-700); }
.ask__field input { flex: 1; min-width: 0; height: 2.9rem; border: 0; outline: 0; background: none; font: 500 1.02rem/1 var(--f-body); }
.ask__field input::placeholder { color: var(--ink-3); }
.ask__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; height: 2.25rem; padding: 0 0.95rem; border-radius: 999px; background: rgba(16, 36, 34, 0.045); font: 600 0.86rem/1 var(--f-body); color: var(--ink-2);
  transition: background var(--d-fast), color var(--d-fast); }
.chip:hover { background: var(--mint-2); color: var(--teal-900); }

/* the people: three portraits in tall arches, two notes on top */
.crew { --crew-gap: clamp(0.6rem, 0.3rem + 1vw, 1.1rem); position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--crew-gap); align-items: end; padding-top: 0.2rem; }
.arch { position: relative; margin: 0; aspect-ratio: 3 / 4.15; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--mint-2), var(--mint)); }
.arch:nth-child(2) { aspect-ratio: 3 / 5.4; }
.arch img { position: absolute; inset: auto 0 0 0; width: 100%; height: 94%; object-fit: cover; object-position: top center; transition: transform var(--d-slow) var(--e-out); }
.arch:hover img { transform: scale(1.03); }
.arch figcaption { position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; padding: 0.5rem 0.65rem; border-radius: 12px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 650 0.78rem/1.25 var(--f-body); color: var(--ink); }
.arch figcaption b { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arch figcaption small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the two notes sit in the free space above the side arches (the middle arch is the tallest): small,
   inside their own column, never over a face or another arch */
.note { position: absolute; z-index: 2; top: 0; display: flex; align-items: center; gap: 0.6rem; max-width: calc((100% - 2 * var(--crew-gap)) / 3);
  padding: 0.55rem 0.8rem 0.55rem 0.55rem; border-radius: 14px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 36, 34, 0.06), 0 14px 28px -18px rgba(11, 57, 54, 0.45); }
.note__i { width: 2.1rem; height: 2.1rem; border-radius: 10px; display: grid; place-items: center; flex: none; }
.note__i .icon { width: 1.1rem; height: 1.1rem; }
.note b { display: block; font-weight: 700; font-size: 0.84rem; line-height: 1.2; white-space: nowrap; }
.note small { display: block; color: var(--ink-3); font-size: 0.72rem; line-height: 1.3; white-space: nowrap; }
.note--er { left: 0; }
.note--er .note__i { background: var(--red-soft); color: var(--red); }
.note--team { right: 0; }
.note--team .note__i { background: var(--mint); color: var(--teal-700); }
@media (max-width: 980px) { .crew { max-width: 34rem; } }
@media (max-width: 520px) { .note { gap: 0.45rem; padding: 0.4rem 0.6rem 0.4rem 0.4rem; border-radius: 12px; } .note__i { width: 1.7rem; height: 1.7rem; border-radius: 9px; }
  .note__i .icon { width: 0.95rem; height: 0.95rem; } .note b { font-size: 0.74rem; } .note small { font-size: 0.64rem; } .arch figcaption { display: none; } .ask__field input { font-size: 0.95rem; } }

/* ---- the five things people come for ---- */
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.qa { position: relative; display: grid; gap: 0.9rem; align-content: start; padding: 1.25rem 1.2rem 1.15rem; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--d-base) var(--e-out), box-shadow var(--d-base) var(--e-out); }
.qa:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px transparent, var(--shadow-2); }
.qa__i { width: 2.9rem; height: 2.9rem; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700); transition: background var(--d-base), color var(--d-base); }
.qa:hover .qa__i { background: var(--teal-700); color: var(--white); }
.qa__i .icon { width: 1.45rem; height: 1.45rem; }
.qa b { font: 450 1.18rem/1.2 var(--f-display); font-variation-settings: "opsz" 40; }
.qa small { color: var(--ink-3); font-size: 0.86rem; line-height: 1.45; }
.qa .go { position: absolute; top: 1.2rem; right: 1.1rem; width: 1.1rem; height: 1.1rem; color: var(--ink-3); transition: transform var(--d-base) var(--e-out), color var(--d-base); }
.qa:hover .go { transform: translateX(3px); color: var(--teal-700); }
.qa--er { background: var(--red-soft); box-shadow: none; }
.qa--er .qa__i { background: var(--white); color: var(--red); }
.qa--er:hover .qa__i { background: var(--red); color: var(--white); }
@media (max-width: 1100px) { .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quick { grid-template-columns: 1fr 1fr; } .qa:last-child { grid-column: 1 / -1; } }

/* ---- departments ---- */
.depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.9rem; }
.dept { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.4rem 1.4rem 1.2rem; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--d-base) var(--e-out), box-shadow var(--d-base) var(--e-out), background var(--d-base) var(--e-out); }
.dept:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px transparent, var(--shadow-2); }
.dept__i { width: 3.2rem; height: 3.2rem; border-radius: 16px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700); transition: background var(--d-base), color var(--d-base); }
.dept:hover .dept__i { background: var(--teal-700); color: var(--white); }
.dept__i .icon { width: 1.65rem; height: 1.65rem; stroke-width: 1.5; }
.dept h2, .dept h3 { font: 450 1.3rem/1.2 var(--f-display); font-variation-settings: "opsz" 48; letter-spacing: -0.01em; }
.dept p { margin-top: 0.4rem; color: var(--ink-3); font-size: 0.9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dept__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding-top: 0.9rem; box-shadow: inset 0 1px 0 var(--line); }
.faces { display: flex; align-items: center; }
.faces img { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mint-2); box-shadow: 0 0 0 2.5px var(--white); }
.faces img + img { margin-inline-start: -0.55rem; }
.faces span { margin-inline-start: 0.6rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-3); }
.dept .go { width: 1.15rem; height: 1.15rem; color: var(--ink-3); transition: transform var(--d-base) var(--e-out), color var(--d-base); }
.dept:hover .go { transform: translateX(3px); color: var(--teal-700); }

@media (max-width: 640px) {
  .depts { gap: 0.5rem; }
  .dept { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border-radius: var(--r-md); }
  .dept__i { width: 2.7rem; height: 2.7rem; border-radius: 13px; }
  .dept__i .icon { width: 1.4rem; height: 1.4rem; }
  .dept h3, .dept h2 { font-size: 1.12rem; }
  .dept p, .faces img { display: none; }
  .dept__foot { padding: 0; box-shadow: none; gap: 0.5rem; }
  .faces span { margin: 0; white-space: nowrap; }
  .dept--all .dept__foot { box-shadow: none; }
}

/* ---- doctors ---- */
.docs-bar { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.docs-bar button { height: 2.4rem; padding: 0 1rem; border-radius: 999px; font: 600 0.88rem/1 var(--f-body); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background var(--d-fast), color var(--d-fast), box-shadow var(--d-fast); }
.docs-bar button:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.docs-bar button[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.doctors { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.1rem; }
.doc { display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.7rem; }
.doc__appt { align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0; font: 650 0.88rem/1 var(--f-body); color: var(--teal-700);
  transition: color var(--d-fast), gap var(--d-base) var(--e-out); }
.doc__appt .icon { width: 1rem; height: 1rem; }
.doc__appt:hover { color: var(--teal-900); gap: 0.6rem; }
.doctors--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .doctors--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doc__pic { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--mint) 0%, var(--mint-2) 100%); }
.doc__pic img { position: absolute; inset: auto 0 0; width: 100%; height: 96%; object-fit: cover; object-position: top center; transition: transform var(--d-slow) var(--e-out); }
.doc:hover .doc__pic img { transform: scale(1.035); }
.doc__tag { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.38rem 0.65rem; border-radius: 999px; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 650 0.72rem/1 var(--f-body); color: var(--teal-800); }
.doc__name { font: 450 1.22rem/1.2 var(--f-display); font-variation-settings: "opsz" 40; }
.doc__name small { display: block; margin-bottom: 0.3rem; font: 650 0.76rem/1 var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-700); }
.doc__dept { color: var(--ink-3); font-size: 0.9rem; }
@media (max-width: 560px) { .doc__name { font-size: 1.08rem; } .doc__dept { font-size: 0.84rem; } }

/* ---- why Emek: the numbers, on the night teal ---- */
.why { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: rgba(232, 244, 241, 0.12); }
.stat { padding: clamp(1.3rem, 1rem + 1vw, 2rem); background: var(--teal-900); display: grid; gap: 0.5rem; }
.stat b { font: 350 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--f-display); font-variation-settings: "opsz" 144; letter-spacing: -0.03em; color: var(--white); font-variant-numeric: lining-nums; }
.stat span { font-size: 0.92rem; color: rgba(232, 244, 241, 0.7); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* ---- the chairman's word ---- */
.word { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.word__pic { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden; background: linear-gradient(180deg, var(--mint-2), var(--mint)); }
.word__pic img { position: absolute; inset: auto 0 0; width: 100%; height: 95%; object-fit: cover; object-position: top center; }
.word blockquote { font: 350 clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem)/1.3 var(--f-display); font-variation-settings: "opsz" 96; letter-spacing: -0.015em; text-wrap: pretty; }
.word blockquote::before { content: "“"; display: block; height: 0.55em; font-size: 3em; line-height: 1; color: var(--teal); }
.word cite { display: block; margin-top: 1.6rem; font: 700 0.95rem/1.3 var(--f-body); font-style: normal; }
.word cite small { display: block; font-weight: 500; color: var(--ink-3); }
@media (max-width: 860px) { .word { grid-template-columns: 1fr; } .word__pic { max-width: 20rem; } }

/* ---- patient guide + "is my insurer contracted?" ---- */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.guide__list { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.guide__list a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--d-base) var(--e-out), transform var(--d-base) var(--e-out); }
.guide__list a:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px transparent, var(--shadow-1); }
.guide__list .gi { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700); flex: none; }
.guide__list b { display: block; font-weight: 650; }
.guide__list small { color: var(--ink-3); font-size: 0.86rem; }
.guide__list .go { margin-inline-start: auto; width: 1.1rem; height: 1.1rem; color: var(--ink-3); }
.ins { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--r-xl); background: var(--teal-900); color: #e6f2ef; }
.ins .h3 { color: var(--white); }
.ins p { color: rgba(230, 242, 239, 0.72); }
.ins__field { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0.3rem 0.3rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(230, 242, 239, 0.18); }
.ins__field:focus-within { box-shadow: inset 0 0 0 2px #7fd3c8; }
.ins__field input { flex: 1; min-width: 0; height: 2.8rem; border: 0; outline: 0; background: none; color: var(--white); font: 500 1rem/1 var(--f-body); }
.ins__field input::placeholder { color: rgba(230, 242, 239, 0.5); }
.ins__out { min-height: 3.4rem; display: grid; align-content: start; gap: 0.4rem; }
.ins__res { display: flex; gap: 0.7rem; align-items: center; padding: 0.75rem 0.9rem; border-radius: 14px; background: rgba(255, 255, 255, 0.07); font-weight: 600; }
.ins__res .icon { color: #7fd3c8; }
.ins__res--no .icon { color: #ffb4b2; }
.ins__res small { display: block; font-weight: 500; color: rgba(230, 242, 239, 0.62); }
.ins__logos { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ins__logos span { padding: 0.35rem 0.65rem; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 0.8rem; color: rgba(230, 242, 239, 0.8); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } }

/* ---- health guide (articles) ---- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.1rem; }
.post { display: grid; gap: 1rem; align-content: start; }
.post__pic { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--mint); }
.post__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--e-out); }
.post:hover .post__pic img { transform: scale(1.04); }
.post small { font: 650 0.74rem/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-700); }
.post h3 { font: 450 1.3rem/1.25 var(--f-display); font-variation-settings: "opsz" 48; }

/* ---- find us ---- */
.visit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); align-items: stretch; }
.facts { display: grid; gap: 0; align-content: start; }
.fact { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; box-shadow: inset 0 -1px 0 var(--line); }
.fact .fi { width: 2.8rem; height: 2.8rem; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700); }
.fact b { display: block; font-weight: 650; }
.fact span, .fact a { color: var(--ink-2); }
.fact a:hover { color: var(--teal-700); }
.map { position: relative; min-height: 22rem; border-radius: var(--r-xl); overflow: hidden; background: var(--mint); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__gate { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 2rem; text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(0, 160, 152, 0.16), transparent 50%), repeating-linear-gradient(0deg, rgba(11, 102, 96, 0.06) 0 1px, transparent 1px 36px), repeating-linear-gradient(90deg, rgba(11, 102, 96, 0.06) 0 1px, transparent 1px 36px), var(--mint); }
.map__gate p { max-width: 22rem; font-size: 0.86rem; color: var(--ink-3); }
.map__pin { width: 3.4rem; height: 3.4rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal-700); display: grid; place-items: center; box-shadow: var(--shadow-2); }
.map__pin svg { transform: rotate(45deg); color: var(--white); width: 1.5rem; height: 1.5rem; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* ---- the reveal: blocks rise once as they come on screen (off under reduced motion) ---- */
.rv .rise { opacity: 0; transform: translateY(18px); transition: opacity 1000ms var(--e-out), transform 1300ms var(--e-out); transition-delay: calc(var(--i, 0) * 80ms); }
.rv .rise.is-in { opacity: 1; transform: none; }

/* ---- the pieces added with the pages ---- */
.hero .ask__field .btn { min-height: 2.9rem; }
.dept--all { background: var(--teal-900); box-shadow: none; }
.dept--all h3 { color: var(--white); }
.dept--all p, .dept--all .faces span { color: rgba(230, 242, 239, 0.7); }
.dept--all .dept__i { background: rgba(255, 255, 255, 0.1); color: #8fd6cd; }
.dept--all:hover .dept__i { background: var(--teal); color: var(--white); }
.dept--all .dept__foot { box-shadow: inset 0 1px 0 rgba(230, 242, 239, 0.14); }
.dept--all .go, .dept--all:hover .go { color: #8fd6cd; }
.doc__name a { transition: color var(--d-fast); }
.doc__name a:hover { color: var(--teal-700); }
.doc__none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--teal-700); }
.doc__none .icon { width: 3rem; height: 3rem; stroke-width: 1.2; }
.why__list { display: grid; gap: 0.7rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.why__list li { display: flex; gap: 0.75rem; align-items: center; color: rgba(238, 246, 244, 0.86); }
.why__list .icon { width: 1.15rem; height: 1.15rem; color: #7fd3c8; stroke-width: 2.2; }
.word__more { margin-top: 1.4rem; }
.word--full { align-items: start; }
.word--full blockquote { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.word__msg { margin-top: 1.6rem; max-width: 40rem; }
.ins__i { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #8fd6cd; }
.link--light { color: #8fd6cd; }
.fact > span:last-child { display: grid; gap: 0.2rem; }
.fact strong { color: var(--ink); font-weight: 650; }
.fact__acts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.35rem; }
.fact__acts .link { font-size: 0.9rem; color: var(--teal-700); }
.fact__acts .icon { width: 1rem; height: 1rem; }
.map__gate b { font: 450 1.25rem/1.2 var(--f-display); }
.map__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

/* the article on the home page */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--d-base) var(--e-out), transform var(--d-base) var(--e-out); }
.feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px transparent, var(--shadow-2); }
.feature__pic { position: relative; display: grid; place-items: center; padding: clamp(1rem, 0.5rem + 2vw, 2.5rem); background: #fff; }
.feature__pic img { width: 100%; height: auto; transition: transform var(--d-slow) var(--e-out); }
.feature:hover .feature__pic img { transform: scale(1.03); }
.feature__text { display: grid; gap: 1.1rem; align-content: center; padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); background: var(--mint); }
.feature__title { font: 400 clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem)/1.12 var(--f-display); font-variation-settings: "opsz" 96; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.feature__sum { color: var(--ink-2); line-height: 1.65; }
.feature__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; box-shadow: inset 0 1px 0 rgba(11, 57, 54, 0.12); }
.by { display: flex; align-items: center; gap: 0.75rem; }
.by img { width: 2.8rem; height: 2.8rem; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mint-2); box-shadow: 0 0 0 2.5px var(--white); }
.by b { display: block; font-weight: 650; font-size: 0.92rem; }
.by small { color: var(--ink-3); font-size: 0.82rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---- the hero: arches are links, the question can be spoken ---- */
.arch__a { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.arch figcaption { z-index: 1; }
.mic { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; color: var(--teal-700); transition: background var(--d-fast), color var(--d-fast); }
.mic:hover { background: var(--mint); }
.mic .icon { width: 1.25rem; height: 1.25rem; }
.mic.is-on { background: var(--red); color: var(--white); animation: mic 1.3s ease-in-out infinite; }
@keyframes mic { 50% { box-shadow: 0 0 0 7px rgba(211, 59, 61, 0.18); } }
.section--tight-top { padding-top: calc(var(--section) * 0.6); }

/* ---- "Nereniz rahatsız?": regions as tiles, the chosen one opens below with its departments and doctors ---- */
.areas { display: grid; gap: 1.1rem; }
.areas__tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; }
.atab { position: relative; display: grid; align-content: space-between; justify-items: start; gap: 0.9rem; min-height: 7.4rem; padding: 1rem 1rem 0.95rem; border-radius: var(--r-lg);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-align: start; font: 600 0.92rem/1.25 var(--f-body); color: var(--ink-2);
  transition: transform 500ms var(--e-out), box-shadow 350ms, background 350ms, color 350ms; }
.atab__i { width: 2.6rem; height: 2.6rem; border-radius: 13px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700);
  transition: background 350ms, color 350ms, transform 550ms var(--e-out); }
.atab__i .icon { width: 1.35rem; height: 1.35rem; }
.atab:hover { transform: translateY(-3px); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal), 0 22px 36px -26px rgba(11, 57, 54, 0.5); }
.atab:hover .atab__i { transform: rotate(-8deg) scale(1.05); }
.atab[aria-selected="true"] { background: var(--teal-800); color: var(--white); box-shadow: 0 26px 44px -26px rgba(11, 57, 54, 0.75); }
.atab[aria-selected="true"] .atab__i { background: rgba(255, 255, 255, 0.12); color: #8fd6cd; transform: rotate(-8deg); }
.atab[aria-selected="true"]::after { content: ""; position: absolute; left: 1.8rem; bottom: -6px; width: 14px; height: 14px; border-radius: 3px; background: var(--teal-800); transform: rotate(45deg); }
.area { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.2rem, 0.8rem + 2vw, 2.8rem); padding: clamp(1.2rem, 0.8rem + 1.6vw, 2.3rem);
  border-radius: var(--r-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 50px 90px -70px rgba(11, 57, 54, 0.45); }
.area[hidden] { display: none; }
.area__main { display: grid; gap: 1.2rem; align-content: start; }
.area__top { display: flex; gap: 1.1rem; align-items: center; }
.area__i { width: 3.8rem; height: 3.8rem; flex: none; border-radius: 18px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700); }
.area__i .icon { width: 1.9rem; height: 1.9rem; stroke-width: 1.5; }
.area__k { font: 400 clamp(1.5rem, 1.15rem + 1.1vw, 2.2rem)/1.12 var(--f-display); font-variation-settings: "opsz" 96; letter-spacing: -0.015em; color: var(--ink); }
.area__q { margin-top: 0.3rem; font-size: 0.95rem; color: var(--ink-3); }
.area__rows { display: grid; gap: 0.6rem; }
.arow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 0.85rem 0.95rem; border-radius: var(--r-md); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 300ms, background 300ms; }
.arow:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--teal), 0 20px 34px -26px rgba(11, 57, 54, 0.45); }
.arow .faces { display: none; }
.arow .dept__i { width: 2.8rem; height: 2.8rem; border-radius: 14px; }
.arow .dept__i .icon { width: 1.45rem; height: 1.45rem; }
.arow__t { min-width: 0; }
.arow__t b { display: block; font: 450 1.15rem/1.25 var(--f-display); font-variation-settings: "opsz" 40; color: var(--ink); }
.arow__t small { display: block; margin-top: 0.2rem; font-size: 0.82rem; color: var(--ink-3); }
.arow__acts { display: flex; gap: 0.4rem; }
.area__words { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.area__words > span { width: 100%; margin-bottom: 0.2rem; font: 700 0.7rem/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.area__er { display: flex; gap: 0.6rem; padding: 0.9rem 1rem; border-radius: 14px; background: var(--red-soft); color: #8c2426; font-size: 0.88rem; line-height: 1.5; }
.area__er .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.12rem; color: var(--red); }
.area__er a { font-weight: 800; text-decoration: underline; }
.area__docs { display: grid; gap: 0.9rem; align-content: start; padding: clamp(1rem, 0.8rem + 0.8vw, 1.4rem); border-radius: var(--r-lg); background: var(--paper); }
.area__dk { font: 700 0.7rem/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.area__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.adoc { display: grid; gap: 0.6rem; align-content: start; }
.adoc__pic { position: relative; aspect-ratio: 1 / 1.08; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--mint), var(--mint-2)); transition: background 500ms, box-shadow 500ms var(--e-out); }
.adoc__pic img { position: absolute; inset: auto 0 0; width: 100%; height: 96%; object-fit: cover; object-position: top center; transition: transform 800ms var(--e-out); }
.adoc:hover .adoc__pic { background: linear-gradient(180deg, #d9efea, #b9e0d8); box-shadow: 0 24px 40px -28px rgba(11, 57, 54, 0.55); }
.adoc:hover .adoc__pic img { transform: scale(1.05); }
.adoc__t { display: grid; gap: 0.2rem; }
.adoc__t small { font: 700 0.66rem/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-700); }
.adoc__t b { font: 450 1.02rem/1.25 var(--f-display); color: var(--ink); transition: color 300ms; }
.adoc:hover .adoc__t b { color: var(--teal-700); }
.adoc__t span { font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 1100px) { .areas__tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); } .area { grid-template-columns: 1fr; } .area__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .areas__tabs { display: flex; gap: 0.4rem; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--pad)); padding: 0.2rem var(--pad) 0.5rem; scrollbar-width: none; }
  .areas__tabs::-webkit-scrollbar { display: none; }
  .atab { flex: none; display: flex; align-items: center; gap: 0.6rem; min-height: 0; padding: 0.4rem 0.95rem 0.4rem 0.4rem; border-radius: 999px; white-space: nowrap; scroll-snap-align: start; }
  .atab:hover { transform: none; }
  .atab__i { width: 2rem; height: 2rem; border-radius: 50%; }
  .atab__i .icon { width: 1.1rem; height: 1.1rem; }
  .atab[aria-selected="true"]::after { display: none; }
  .arow { grid-template-columns: auto minmax(0, 1fr); }
  .arow__acts { grid-column: 1 / -1; }
  .arow__acts .btn { flex: 1; }
  .area__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- the doctors' rail ---- */
.section--rail { background: var(--paper); }
.rail__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.docs-bar--rail { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0.25rem 0.1rem 0.45rem; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.docs-bar--rail::-webkit-scrollbar { display: none; }
.docs-bar--rail button { flex: none; }
.rail__nav { display: flex; gap: 0.5rem; flex: none; }
.rail__b { width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background 250ms, color 250ms, box-shadow 250ms, opacity 250ms, transform 450ms var(--e-out); }
.rail__b .icon { width: 1.15rem; height: 1.15rem; }
.rail__b:hover:not(:disabled) { background: var(--ink); color: var(--white); box-shadow: none; transform: scale(1.05); }
.rail__b:disabled { opacity: 0.35; cursor: default; }
.rail__track { --n: 4; --g: 1.2rem; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--n) - 1) * var(--g)) / var(--n)); gap: var(--g);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: -1rem 0 -2.2rem; padding: 1rem 0 2.2rem; scrollbar-width: none; cursor: grab; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -3px; }
.rail__track > .doc { scroll-snap-align: start; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; -webkit-user-select: none; user-select: none; }
.rail__track.is-drag a { pointer-events: none; }
.rail__foot { display: flex; align-items: center; gap: 1.5rem; margin-top: 0.5rem; }
.rail__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail__bar i { display: block; height: 100%; width: 30%; border-radius: 3px; background: var(--teal-700); transition: transform 200ms linear, width 300ms; }
@media (max-width: 1100px) { .rail__track { --n: 3; } }
@media (max-width: 820px) { .rail__track { --n: 2; --g: 0.9rem; } }
@media (max-width: 760px) { .rail__nav { display: none; } }

/* ---- the insurers' band ---- */
.band { padding: clamp(3rem, 2rem + 3vw, 5.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--paper); overflow: clip; }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.marq { overflow: hidden; padding: 0.35rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marq__track { display: flex; width: max-content; animation: marq 75s linear infinite; }
.marq--rev .marq__track { animation-direction: reverse; animation-duration: 90s; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq__set { display: flex; align-items: center; }
.marq__i { display: inline-flex; align-items: center; gap: clamp(1.4rem, 0.8rem + 2vw, 2.8rem); padding-inline-end: clamp(1.4rem, 0.8rem + 2vw, 2.8rem); white-space: nowrap;
  font: 350 clamp(1.55rem, 1.05rem + 1.7vw, 2.7rem)/1.25 var(--f-display); font-variation-settings: "opsz" 96; letter-spacing: -0.015em; color: rgba(16, 36, 34, 0.42); transition: color 300ms; }
.marq__i::after { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--teal); opacity: 0.55; }
.marq__i:hover { color: var(--teal-800); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq__track { animation: none; } }

/* ---- the chairman's words light as they are read ---- */
.is-fill .fw { opacity: 0.18; transition: opacity 450ms var(--e-out); }
.is-fill .fw.lit { opacity: 1; }

/* the doctor page's share button */
.btn--icon { width: 3.5rem; padding: 0; }
.btn--icon .icon { width: 1.2rem; height: 1.2rem; }

/* ==== the calm home page (16.10: the client found it "too crowded the moment you arrive") ==========
   One search in the hero, then one thing per section with room around it: four ways in, eight
   departments, four doctors, four numbers, how to reach us. */
/* 17.10: the hero, the question and the four ways share the first screen. The hero is sized from the
   screen's height as well as its width (vh), so a 1366x768 laptop sees the four cards like a 1920x1080
   monitor does; on very short screens it stops shrinking and simply scrolls. --stage is the height of
   the tallest arch; the three arches take their width from it. */
.hero--calm { --stage: clamp(13rem, 100vh - 32rem, 20.5rem); padding: clamp(1rem, 11vh - 2.5rem, 4.5rem) 0 clamp(1rem, 5vh - 1rem, 3rem); }
.hero--calm .hero__in { gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
.hero--calm .hero__text { gap: clamp(0.85rem, 3vh - 0.6rem, 1.5rem); }
.hero--calm .hero__title { font-size: min(var(--t-hero), max(2.7rem, 9vh)); }
.hero--calm .hero__lead { font-size: min(var(--t-lead), max(1rem, 2.05vh)); max-width: 32rem; }
.hero--calm .ask { margin-top: 0.3rem; }
@media (min-width: 981px) { .hero--calm .crew { width: min(100%, var(--stage) * 1.667 + 2 * var(--crew-gap)); justify-self: end; } }
.section--calm { padding-block: clamp(5rem, 3.5rem + 5vw, 9rem); }
.section--first-calm { padding-top: clamp(1rem, 7vh - 1.6rem, 3.5rem); }
.section--first-calm .head { margin-bottom: clamp(0.9rem, 3.4vh - 0.4rem, 2.2rem); }
.section--first-calm .h2 { font-size: min(var(--t-h2), max(2rem, 5vh)); }
.page-home .anns-live { padding-block: 0 clamp(4rem, 3rem + 4vw, 7rem); }        /* under the four ways now (they carry the gap above) */
.head--center { justify-items: center; text-align: center; }
.head--center .label::before { display: none; }
.head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; }

/* four ways in (scoped to .ways: the contact page and the appointment receipt have their own .way rows, pages.css) */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.8rem, 0.5rem + 1vw, 1.4rem); }
.ways .way { --way-pad: clamp(1.1rem, 0.8rem + 0.7vw, 1.6rem); position: relative; display: grid; align-content: start; gap: 0.4rem; padding: var(--way-pad); border-radius: var(--r-lg);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform 600ms var(--e-out), box-shadow 600ms var(--e-out); }
.ways .way:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(0, 160, 152, 0.35), var(--shadow-2); }
.way__i { width: 2.75rem; height: 2.75rem; margin-bottom: 0.55rem; border-radius: 13px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700); transition: background var(--d-base), color var(--d-base); }
.way__i .icon { width: 1.3rem; height: 1.3rem; }
.ways .way:hover .way__i { background: var(--teal-700); color: var(--white); }
.ways .way b { font: 450 clamp(1.1rem, 1rem + 0.3vw, 1.3rem)/1.22 var(--f-display); font-variation-settings: "opsz" 48; letter-spacing: -0.01em; text-wrap: balance; }
.ways .way small { color: var(--ink-3); font-size: 0.9rem; line-height: 1.45; }
.ways .way .go { position: absolute; top: calc(var(--way-pad) + 0.8rem); inset-inline-end: var(--way-pad); width: 1.1rem; height: 1.1rem; color: var(--ink-3); transition: transform var(--d-base) var(--e-out), color var(--d-base); }
.ways .way:hover .go { transform: translateX(3px); color: var(--teal-700); }
html[dir="rtl"] .ways .way .go { transform: scaleX(-1); }
html[dir="rtl"] .ways .way:hover .go { transform: translateX(-3px) scaleX(-1); }
@media (max-width: 1100px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }

/* eight departments: a sign and a name */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.tile { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.2rem; border-radius: var(--r-lg); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line); transition: transform 500ms var(--e-out), box-shadow 500ms var(--e-out); }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0, 160, 152, 0.35), var(--shadow-2); }
.tile__i { flex: none; width: 2.9rem; height: 2.9rem; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--teal-700); transition: background var(--d-base), color var(--d-base); }
.tile__i .icon { width: 1.4rem; height: 1.4rem; }
.tile:hover .tile__i { background: var(--teal-700); color: var(--white); }
.tile__t { display: grid; gap: 0.2rem; min-width: 0; flex: 1; }
.tile__t b { font: 450 1.08rem/1.25 var(--f-display); font-variation-settings: "opsz" 36; }
.tile__t small { font-size: 0.84rem; color: var(--ink-3); }
.tile .go { flex: none; width: 1.05rem; height: 1.05rem; color: var(--ink-3); transition: transform var(--d-base) var(--e-out), color var(--d-base); }
.tile:hover .go { transform: translateX(3px); color: var(--teal-700); }
html[dir="rtl"] .tile .go { transform: scaleX(-1); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* four doctors: a portrait and a name */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.8rem, 0.5rem + 1vw, 1.4rem); }
.person { display: grid; gap: 1rem; }
.person__pic { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--mint-2), var(--mint)); }
.person__pic img { position: absolute; inset: auto 0 0 0; width: 100%; height: 94%; object-fit: cover; object-position: top center; transition: transform var(--d-slow) var(--e-out); }
.person:hover .person__pic img { transform: scale(1.04); }
.person__t { display: grid; gap: 0.2rem; }
.person__t small { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; color: var(--teal-700); }
.person__t b { font: 450 1.22rem/1.2 var(--f-display); font-variation-settings: "opsz" 40; }
.person__t span { font-size: 0.9rem; color: var(--ink-3); }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* four numbers in one row */
.stats--row { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 72rem; margin-inline: auto; }
@media (max-width: 900px) { .stats--row { grid-template-columns: 1fr 1fr; } }

/* how to reach us, in one line */
.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.reach__facts { display: grid; gap: 1.1rem; }
.reach__f { display: flex; align-items: flex-start; gap: 0.85rem; font-size: 1.05rem; color: var(--ink-2); }
.reach__f .icon { flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; color: var(--teal-700); }
.reach__f span { display: grid; gap: 0.2rem; }
.reach__f a { font-weight: 650; color: var(--ink); }
.reach__f small { font-size: 0.86rem; color: var(--ink-3); }
.reach__acts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
@media (max-width: 860px) { .reach { grid-template-columns: 1fr; } }

/* the glow behind the arches: an ellipse drawn inside the hero, so the hero's own edge never cuts it
   into a visible line now that the cards sit just below */
.hero--calm::before { inset: 0 -8% 0 auto; width: 68%; height: auto; max-width: none; max-height: none; border-radius: 0;
  background: radial-gradient(closest-side, rgba(0, 160, 152, 0.12), rgba(0, 160, 152, 0.04) 62%, transparent); }
html[dir="rtl"] .hero--calm::before { inset: 0 auto 0 -8%; }
/* a name breaks onto a second line rather than ending in "…"; on an arch too narrow for a name the
   card goes away (the arch still links to the profile and says whose it is) */
.hero--calm .arch { container-type: inline-size; }
.hero--calm .arch figcaption b, .hero--calm .arch figcaption small { white-space: normal; text-wrap: balance; }
@container (max-width: 150px) { .hero--calm .arch figcaption { display: none; } }
