/* I&I CLINIC v2 (25.11.2026): colour, motion and the premium package, on top of the tasteskill kit.
   Linked after the kit on every page. The palette tokens and fonts sit in each page's :root. */
@property --holo-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes holo-spin { to { --holo-angle: 360deg; } }
@keyframes holo-shift { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes aurora-a { 0%, 100% { transform: translate3d(-6%, -4%, 0) scale(1); } 50% { transform: translate3d(8%, 6%, 0) scale(1.15); } }
@keyframes aurora-b { 0%, 100% { transform: translate3d(6%, 4%, 0) scale(1.1); } 50% { transform: translate3d(-8%, -6%, 0) scale(.95); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ticker { to { transform: translateX(50%); } }
@keyframes shimmer { to { transform: translateX(-260%) skewX(-18deg); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(62,224,216,.55); } 100% { box-shadow: 0 0 0 20px rgba(62,224,216,0); } }

/* type: Rubik for every heading, Arial for the text */
h1, h2, h3, .t-h1, .t-h2, .t-h3 { font-family: var(--font-display); font-weight: 700; }
h1, .t-h1 { font-weight: 800; }
.hl { background-image: linear-gradient(100deg, var(--teal), var(--aqua) 55%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hl--gold { background-image: linear-gradient(100deg, var(--gold-deep), var(--gold) 45%, #ffe59a); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--t-label)/1 var(--font-display); letter-spacing: .06em; color: var(--teal); }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--holo); background-size: 300% 100%; animation: holo-shift 4s linear infinite; box-shadow: 0 0 0 3px rgba(34,211,238,.18); }
.kicker--gold { color: var(--gold); }
.section-head > .kicker { margin-bottom: -4px; }

/* the header: a holographic hairline on top, glass under it */
.nav { background: color-mix(in srgb, #ffffff 84%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(10,47,58,.08); }
.nav::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--holo); background-size: 200% 100%; animation: holo-shift 9s linear infinite; }
.nav__logo { font-weight: 800; gap: 0; }
.logo-mark, .nav__logo-sub { color: var(--teal); }
/* interim lockup (25.11.2026): option ב from the logo sheet (Cormorant I · gold-line tooth with & · I, DENTAL CLINIC under it);
   Idan picks the final option on the Design canvas and this block plus the markup on the 11 pages change to it */
.lg { display: inline-grid; justify-items: center; line-height: 1; direction: ltr; }
.lg__row { display: inline-flex; align-items: flex-end; gap: 0; }
.lg__i { font: 600 38px/1 "Cormorant Garamond", Georgia, serif; color: var(--navy); letter-spacing: 0; }
.lg__tooth { width: 38px; height: 38px; color: var(--gold-deep); margin: 0 -3px -5px; flex: none; }
.lg__sub { font: 600 8.5px/1 Montserrat, Arial, sans-serif; letter-spacing: .34em; padding-inline-start: .34em; color: var(--teal); margin-top: 2px; white-space: nowrap; }
.nav__logo:hover .lg__tooth { color: var(--gold); }
:is(.footer, .ground-inverse) .lg__i { color: #fff; }
:is(.footer, .ground-inverse) :is(.lg__tooth, .lg__sub) { color: var(--gold); }
.nav__link::before { background: var(--teal); }

/* buttons: a gradient with a light that sweeps on hover; gold on a dark ground */
.btn { font-family: var(--font-display); font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.btn--primary { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal), #0ea5b0 60%, var(--aqua)); border-color: transparent; color: #fff; box-shadow: 0 10px 26px -12px rgba(10,127,137,.7); }
.btn--primary:hover, .btn--primary:focus-visible { background: linear-gradient(135deg, #0b8a95, #12b3bf 60%, #34dcef); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(10,127,137,.75); }
.btn--primary::after { content: ""; position: absolute; top: -40%; bottom: -40%; width: 36%; left: 120%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-18deg); pointer-events: none; }
.btn--primary:hover::after { animation: shimmer .9s ease; }
.btn--secondary { color: var(--teal); border-color: rgba(10,127,137,.4); background: rgba(255,255,255,.6); }
.btn--secondary:hover { background: rgba(16,181,194,.1); border-color: var(--teal); transform: translateY(-2px); }
:is(.ground-inverse, .hero__over, .footer.closing) .btn--primary { background: linear-gradient(135deg, var(--gold-deep), var(--gold) 55%, #ffe08a); color: var(--navy); box-shadow: 0 12px 30px -12px rgba(245,196,81,.7); }
:is(.ground-inverse, .hero__over, .footer.closing) .btn--primary:hover, :is(.ground-inverse, .hero__over, .footer.closing) .btn--primary:focus-visible { background: linear-gradient(135deg, #e3a72c, #ffd25e 55%, #fff0b3); color: var(--navy); }
:is(.ground-inverse, .hero__over, .footer.closing) .btn--secondary { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }
:is(.ground-inverse, .hero__over, .footer.closing) .btn--secondary:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* the hero: a glass box with a turning holographic rim, a pulsing play disc */
.hero--film .hero__media { border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(7,47,56,.5); }
.hero__over > :first-child { position: relative; isolation: isolate; background: linear-gradient(140deg, rgba(7,47,56,.94), rgba(15,70,82,.9)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(62,224,216,.35); box-shadow: 0 24px 60px -24px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08); }
.hero__over > :first-child::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--holo-angle), var(--aqua), var(--mint), var(--gold), var(--coral), var(--aqua)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: holo-spin 7s linear infinite; opacity: .95; }
.hero__over h1 { letter-spacing: -0.02em; }
/* v3.2: the hero's words fit the frame at every screen height (the frame grows past one screen only when it must),
   the box is narrower so more of the clinic shows, and the film opens in a lightbox */
main > .hero--film { height: auto; min-height: 100svh; }
main > .hero--film > .wrap { height: auto; min-height: 100%; }
main > .hero--film .hero__media { min-height: max(480px, calc(100svh - 184px)); }
.hero__over > :first-child { max-width: 560px; padding: clamp(24px, 2.8vw, 40px); background: linear-gradient(140deg, rgba(7,47,56,.9), rgba(15,70,82,.86)); }
.hero--film .hero__over h1 { font-size: clamp(34px, 2.3vw + 14px, 56px); line-height: 1.08; max-width: 15ch; }
.hero__over .hero__lead { font-size: 17px; line-height: 1.5; margin-top: 12px; }
.hero__over .btn-row { margin-top: 22px; }
dialog.film { position: fixed; inset: 0; margin: auto; border: 0; padding: 0; background: transparent; width: min(96vw, 1200px); max-width: none; max-height: none; overflow: visible; }
dialog.film::backdrop { background: rgba(7,47,56,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film__video { width: 100%; aspect-ratio: 16 / 9; max-height: 86vh; display: block; border-radius: 16px; background: #000; box-shadow: 0 40px 100px -30px rgba(0,0,0,.85); }
.film__close { position: absolute; top: -54px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.film__close:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.film__close svg { width: 22px; height: 22px; }
.hero__over .hero__kicker { display: inline-flex; margin-bottom: 14px; }
.hero__over .hero__kicker::before { box-shadow: 0 0 0 3px rgba(245,196,81,.2); }
.hero__over .hero__lead { color: #dff6f6; }
.hero .ly-play__disc { animation: pulse-ring 2.4s ease-out infinite; }
.hero--film .ly-play__label { background: rgba(7,47,56,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(62,224,216,.3); }

/* the facts strip under the hero: a slow ticker, still under reduced motion */
.ticker { position: relative; z-index: 1; overflow: hidden; padding: 15px 0; background: linear-gradient(90deg, var(--navy), #0f4652 50%, var(--navy)); border-block: 1px solid rgba(62,224,216,.28); color: #e6fbfb; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 26px; font: 600 15px/1 var(--font-display); white-space: nowrap; }
.ticker__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* the sections take colour: soft aqua and gold glows on white, a mint band, a dark package */
#treatments { background: radial-gradient(60% 50% at 100% 0%, rgba(34,211,238,.16), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(245,196,81,.16), transparent 70%); }
#clinic { background: linear-gradient(180deg, #ffffff, #e9f7f7); } #patients.ground-surface { background: linear-gradient(180deg, #e9f7f7, #ffffff); }
#how { background: radial-gradient(50% 50% at 0% 20%, rgba(94,234,212,.16), transparent 70%); }
#patients.ground-surface { background: linear-gradient(180deg, var(--p-surface), #ffffff); }
#quote { background: linear-gradient(180deg, #ffffff, #e9f7f7 55%, #ffffff); }
.article { background: radial-gradient(50% 40% at 100% 0%, rgba(34,211,238,.14), transparent 70%); }

/* photographs and treatment tiles lift under the pointer */
.frame--photo { box-shadow: 0 24px 60px -28px rgba(7,47,56,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.frame--photo:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -30px rgba(7,47,56,.55); }
a.tile .tile__media { box-shadow: 0 20px 44px -26px rgba(7,47,56,.5); border: 1px solid rgba(10,127,137,.12); }
a.tile .tile__head h3 { font-family: var(--font-display); font-weight: 700; transition: color .3s var(--ease); }
a.tile:hover .tile__head h3 { color: var(--teal); }
.rows__name { font-family: var(--font-display); font-weight: 700; }
#clinic .rows__value { color: var(--teal); font-weight: 700; }

/* the three steps: numbered gradient discs, the open one gold */
.mo-pc__steps { counter-reset: step; }
.mo-pc__step { counter-increment: step; }
[data-moment="pinned-chapters"] .mo-pc__step h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; }
[data-moment="pinned-chapters"] .mo-pc__step h3::before { content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--font-display); color: #fff; background: linear-gradient(135deg, var(--teal), var(--aqua)); box-shadow: 0 8px 18px -8px rgba(10,127,137,.7); transition: background .3s var(--ease), transform .3s var(--ease); }
[data-moment="pinned-chapters"].is-live .mo-pc__step.is-on h3::before { background: linear-gradient(135deg, var(--gold-deep), var(--gold)); color: var(--navy); transform: scale(1.08); }
html[dir="rtl"] [data-moment="pinned-chapters"].is-live .mo-pc__step.is-on { border-right-color: var(--aqua); }
.mo-pc__visual img { border-radius: var(--r-lg); }

/* carousels: snap-scrolling track, round buttons on both sides, dots under; captions on a soft gradient */
.carousel { position: relative; overflow: hidden; border-radius: 20px; background: #0f4652; box-shadow: 0 30px 60px -30px rgba(7,47,56,.6); isolation: isolate; }
.carousel--fill { height: 100%; min-height: 380px; }
.carousel--wide { aspect-ratio: 16 / 10; }
.carousel__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__cap { position: absolute; inset: auto 0 0 0; padding: 48px 56px 16px; background: linear-gradient(0deg, rgba(7,47,56,.86), transparent); color: #fff; font: 700 16px/1.3 var(--font-display); }
.carousel__btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(7,47,56,.55); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .25s var(--ease), transform .25s var(--ease); }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.carousel__btn--prev { right: 14px; }
.carousel__btn--next { left: 14px; }
.carousel__dots { position: absolute; inset: auto 0 10px 0; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.carousel__dot { pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s var(--ease), background .3s var(--ease); }
.carousel__dot[aria-selected="true"] { width: 22px; background: var(--gold); }
.carousel:hover .carousel__btn { transform: scale(1.04); }
.pkg-media { display: grid; gap: 14px; align-content: start; }
.pkg-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.pkg-facts li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(62,224,216,.25); }
.pkg-facts strong { font: 700 15px/1.3 var(--font-display); color: var(--gold); }
.pkg-facts span { font-size: 13px; line-height: 1.45; color: var(--p-inv-muted); }
.package__grid { align-items: start; }

/* the package: a dark ground with an aurora, a holographic card, the hotel's photographs */
#package { height: auto; min-height: calc(var(--h, 2) * 100svh); overflow: clip; isolation: isolate; background: var(--navy); }
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, rgba(15,70,82,.9), transparent 70%); }
.aurora::before, .aurora::after { content: ""; position: absolute; inset: -20%; filter: blur(70px); opacity: .8; will-change: transform; }
.aurora::before { background: radial-gradient(35% 40% at 25% 35%, rgba(34,211,238,.6), transparent 70%), radial-gradient(30% 30% at 70% 60%, rgba(94,234,212,.4), transparent 70%); animation: aurora-a 26s ease-in-out infinite; }
.aurora::after { background: radial-gradient(28% 32% at 72% 28%, rgba(245,196,81,.42), transparent 70%), radial-gradient(26% 30% at 30% 75%, rgba(255,123,92,.26), transparent 70%); animation: aurora-b 34s ease-in-out infinite; }
#package > .wrap { z-index: 1; height: auto; }
#package .package__grid { flex: none; min-height: auto; }
@media (max-width: 1023px) { main > #clinic > .wrap { height: auto; } }
#package .section-head { max-width: none; padding-inline-end: max(0px, calc(100% - 74ch)); }
html[dir="rtl"] #package .section-head { padding-inline-end: max(0px, calc(100% - 74ch)); }
#package .section-head h2 { color: #fff; font-size: clamp(32px, 2.2vw + 20px, 58px); line-height: 1.08; }
#package .section-head p { color: #d6f1f1; }
.package__grid { align-items: stretch; margin-top: var(--s-5); }
.holo { position: relative; border-radius: 24px; padding: 2px; background: conic-gradient(from var(--holo-angle), var(--aqua), var(--mint), var(--gold), var(--coral), var(--aqua)); animation: holo-spin 8s linear infinite; box-shadow: 0 40px 90px -40px rgba(0,0,0,.75), 0 0 70px -20px rgba(62,224,216,.4); }
.holo__in { height: 100%; border-radius: 22px; padding: clamp(22px, 2.6vw, 36px); background: linear-gradient(160deg, rgba(10,60,70,.94), rgba(7,47,56,.97)); display: grid; gap: var(--s-5); align-content: start; color: #fff; }
.holo__badge { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 9px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-deep), var(--gold)); color: var(--navy); font: 800 13px/1.2 var(--font-display); letter-spacing: .02em; animation: float-y 4s ease-in-out infinite; box-shadow: 0 10px 24px -10px rgba(245,196,81,.8); }
.holo h3 { font: 800 clamp(24px, 1.4vw + 16px, 32px)/1.15 var(--font-display); color: #fff; }
.holo__list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.holo__list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease); }
.holo__list li:hover { background: rgba(62,224,216,.12); border-color: rgba(62,224,216,.4); transform: translateX(-4px); }
.holo__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(34,211,238,.28), rgba(94,234,212,.14)); color: var(--mint); border: 1px solid rgba(62,224,216,.4); }
.holo__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.holo__list strong { display: block; font: 700 16px/1.3 var(--font-display); color: #fff; }
.holo__list li > div > span { display: block; font-size: 14px; line-height: 1.5; color: var(--p-inv-muted); margin-top: 3px; }
.collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: minmax(280px, 1.55fr) minmax(170px, 1fr); gap: 14px; }
.collage__item { position: relative; overflow: hidden; margin: 0; border-radius: 20px; background: #0f4652; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); grid-column: span 2; }
.collage__item--big { grid-column: span 6; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .9s var(--ease); }
.collage__item:hover img { transform: scale(1.09); }
.collage__cap { position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px; background: linear-gradient(0deg, rgba(7,47,56,.88), transparent); color: #fff; font: 700 14px/1.3 var(--font-display); }
.collage__item--big .collage__cap { font-size: 18px; padding-inline: 20px; }
.package__note { margin-top: var(--s-5); color: var(--p-inv-muted); }
.package__note .link { color: var(--mint); }

/* questions, patients, the form */
.faq > .faq__item { position: relative; padding-inline-start: 22px; }
.faq > .faq__item::before { content: ""; position: absolute; inset-inline-start: 0; top: calc(var(--s-5) + 8px); width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--aqua)); box-shadow: 0 0 0 4px rgba(16,181,194,.18); }
.faq > .faq__item:first-child::before { top: 8px; }
.faq :is(.faq__item > h3) { font-family: var(--font-display); font-weight: 700; }
.voice .tile__media { background: linear-gradient(160deg, #0f4652, var(--navy)); box-shadow: 0 24px 50px -28px rgba(7,47,56,.6); }
.voice__video { background: transparent; }
.voice__play .ly-play__disc { box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 12px 30px -8px rgba(0,0,0,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.voice__play:hover .ly-play__disc { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(62,224,216,.3), 0 12px 30px -8px rgba(0,0,0,.6); }
.voice .tile__head h3 { font-family: var(--font-display); font-weight: 700; color: var(--teal); }
.voice blockquote { position: relative; padding-inline-start: 24px; font-family: var(--font-text); font-size: 17px; font-weight: 400; line-height: 1.55; }
.voice blockquote::before { content: "\201D"; position: absolute; inset-inline-start: 0; top: -8px; font: 800 44px/1 var(--font-display); color: var(--aqua); }
.cmp__head { color: var(--teal); font-family: var(--font-display); font-weight: 700; }
.cmp__name { font-family: var(--font-display); font-weight: 700; }
.cmp [role="cell"]:last-child bdi { font: 800 22px/1.2 var(--font-display); background-image: linear-gradient(100deg, var(--teal), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.form { padding: clamp(20px, 2.6vw, 32px); border-radius: 20px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(10,127,137,.2); box-shadow: 0 30px 70px -40px rgba(7,47,56,.5); }
.field :is(input, textarea):focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(16,181,194,.18); outline: none; }

/* the closing: dark, with the aurora */
.footer.closing { position: relative; overflow: hidden; isolation: isolate; border-top: 0; background: var(--navy); }
.footer.closing > .wrap { z-index: 1; }
.footer.closing .aurora { opacity: .85; }
.footer.closing :is(h2, h3, p, address, dt, dd, span) { color: var(--p-inv-ink); }
.footer.closing :is(h3, .footer__legal, .footer__legal span, .credits) { color: var(--p-inv-muted); }
.footer.closing .link { color: var(--mint); }
.footer.closing .section-head h2 { color: #fff; }
.footer.closing .btn--xl { font-family: var(--font-display); font-weight: 800; }
.footer.closing .closing__links, .footer.closing .footer__legal { border-top-color: rgba(255,255,255,.12); }

/* v3.4: a minimal closing (Idan removed the CTA, the address and the hours block): one legal row on the dark ground */
footer.footer--mini { height: auto; min-height: 0; padding: 36px 0 26px; }
footer.footer--mini > .wrap { height: auto; }
footer.footer--mini .closing__links { border-top: 0; padding-top: 0; margin-top: 0; }
footer.footer--mini .footer__legal { margin-top: 0; border-top: 0; padding-top: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }

/* v3.5: the nine treatment tiles in one grid, the section as tall as its rows (no empty second screen) */
#treatments { height: auto; min-height: 0; padding-bottom: 64px; }
#treatments > .wrap { height: auto; }
.treatments__grid { row-gap: 14px; margin-top: 4px; }
#treatments a.tile { gap: 6px; }
#treatments a.tile .tile__head { margin: 0; min-height: 0; }
a.tile .tile__head h3 { font-size: 20px; }

/* v4: Idan's own logo (25.11.2026): the I·tooth·I mark and the "I&I CLINIC" wordmark as transparent PNGs, recoloured to the site's dark teal */
.lg--img { display: inline-flex; align-items: center; gap: 12px; direction: ltr; }
.lg--img .lg__mark { height: 46px; width: auto; display: block; }
.lg--img .lg__word { height: 15px; width: auto; display: block; }
:is(.footer, .ground-inverse) .lg--img .lg__mark { content: url("img/logo-mark-white.png"); }
:is(.footer, .ground-inverse) .lg--img .lg__word { content: url("img/logo-word-white.png"); }
@media (max-width: 639px) { .lg--img { gap: 8px; } .lg--img .lg__mark { height: 40px; } .lg--img .lg__word { display: none; } }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
html.no-reveal [data-reveal] { opacity: 1; transform: none; }
@media (max-width: 1023px) {
  .collage { grid-template-rows: minmax(220px, 1.4fr) minmax(140px, 1fr); }
  #package .holo { margin-bottom: var(--s-5); }
}
@media (max-width: 1023px) {
  .carousel--fill { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .carousel__cap { padding: 40px 56px 12px; font-size: 14px; }
}
@media (max-width: 639px) {
  .pkg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel__btn { width: 38px; height: 38px; }
  .carousel__btn--prev { right: 8px; } .carousel__btn--next { left: 8px; }
  .carousel__cap { padding: 36px 12px 12px; }
  .lg__i { font-size: 32px; } .lg__tooth { width: 32px; height: 32px; }
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 210px 140px; gap: 10px; }
  .collage__item { grid-column: span 1; }
  .collage__item--big { grid-column: span 2; }
  .collage__item:nth-child(4) { display: none; }
  .ticker__item { font-size: 14px; padding: 0 18px; }
  .holo__in { padding: 20px; }
  .holo__list li { padding: 10px 12px; }
  #package .section-head h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .aurora::before, .aurora::after, .ticker__track, .holo, .hero__over > :first-child::before, .holo__badge, .kicker::before, .nav::before, .hero .ly-play__disc { animation: none !important; }
  .ticker__track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
}
