/*
 * Οδοντιατρείο Smile: a bright practice. Clean white and a cool mint for the
 * light, a deep petrol for trust, the mint for what is healthy and a coral for
 * what hurts. One rounded, friendly sans for everything; whole fields of
 * colour so every part of the visit is its own room.
 */
body.dx-medical {
	--bg: #ffffff;
	--mint-bg: #e9f6f1;
	--mint: #6fd3b6;
	--petrol: #0d4b4f;
	--petrol-2: #093a3d;
	--coral: #e9604c;
	--ink: #0f2526;
	--muted: #4f6667;
	--line: #d6e7e2;
	--surface: #f2f8f6;
	--accent: var(--petrol);
	--accent-ink: #fff;
	--font-text: 'Commissioner', system-ui, sans-serif;
	--font-display: 'Commissioner', system-ui, sans-serif;
	--step-small: clamp(.875rem, .85rem + .1vw, .9375rem);
	--step-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
	--step-lead: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
	--step-head: clamp(2.1rem, 1.3rem + 2.8vw, 3.75rem);
	--r: 22px;
	line-height: 1.6;
}
.dx-medical .sm-w { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.dx-medical section { padding-block: clamp(80px, 9vw, 150px); scroll-margin-top: 80px; }
.dx-medical .sm-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 60px); }
.dx-medical .sm-kick { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--mint-bg); color: var(--petrol); font: 700 13px/1 var(--font-text); letter-spacing: .04em; }
.dx-medical .sm-kick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.dx-medical .sm-h2 { font: 800 var(--step-head)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--petrol); text-wrap: balance; }
.dx-medical .sm-lead { margin-top: 18px; font-size: var(--step-lead); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.dx-medical .sm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--petrol); color: #fff; font: 700 15px/1 var(--font-text); text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; box-shadow: 0 14px 30px -14px rgba(13, 75, 79, .7); }
.dx-medical .sm-btn:hover { background: var(--petrol-2); transform: translateY(-2px); }
.dx-medical .sm-btn:active { transform: translateY(1px); }
.dx-medical .sm-btn--s { min-height: 44px; padding: 0 18px; box-shadow: none; }

/* the bar: white, stays at the top */
.dx-medical .sm-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px; padding: 14px var(--gutter); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); font: 600 15px/1 var(--font-text); }
.dx-medical .sm-mark { display: inline-flex; align-items: center; gap: 10px; font: 800 18px/1 var(--font-display); letter-spacing: -.02em; color: var(--petrol); text-decoration: none; }
.dx-medical .sm-mark__dot { display: inline-block; width: 26px; height: 26px; border-radius: 50% 50% 46% 46%; background: radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%), linear-gradient(160deg, var(--mint), var(--petrol)); }
.dx-medical .sm-links { display: flex; gap: 24px; margin-left: auto; }
.dx-medical .sm-links a { text-decoration: none; color: var(--muted); }
.dx-medical .sm-links a:hover { color: var(--petrol); }
.dx-medical .sm-call { text-decoration: none; color: var(--petrol); font-weight: 700; }

/* ---- the hero: the words on mint, the chair in a big rounded picture */
.dx-medical .sm-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 72px); min-height: calc(100svh - 73px); padding: clamp(36px, 4vw, 64px) var(--gutter); background: linear-gradient(135deg, var(--mint-bg) 0%, #fff 70%); }
.dx-medical .sm-hero__text { max-width: 640px; justify-self: end; }
.dx-medical .sm-hero h1 { margin: 22px 0 22px; font: 800 clamp(2.6rem, 1.5rem + 3.8vw, 5rem)/1 var(--font-display); letter-spacing: -.045em; color: var(--petrol); text-wrap: balance; }
.dx-medical .sm-hero__say { font-size: var(--step-lead); color: var(--muted); max-width: 42ch; }
.dx-medical .sm-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 32px 0 26px; }
.dx-medical .sm-pain { font-weight: 700; color: var(--coral); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.dx-medical .sm-open { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px -10px rgba(13, 75, 79, .35); font-size: 14px; font-weight: 600; color: var(--muted); }
.dx-medical .sm-open.is-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #22c07a; box-shadow: 0 0 0 4px rgba(34, 192, 122, .2); }
.dx-medical .sm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-medical .sm-chips li { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--petrol); }
.dx-medical .sm-chips li::before { content: "✓ "; color: var(--mint); font-weight: 800; }
.dx-medical .sm-hero__pic { position: relative; margin: 0; height: min(78svh, 760px); }
.dx-medical .sm-hero__pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px 36px 36px 140px; box-shadow: 0 50px 90px -50px rgba(13, 75, 79, .6); }
.dx-medical .sm-float { position: absolute; display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -24px rgba(13, 75, 79, .5); font-size: 14px; color: var(--muted); max-width: 230px; }
.dx-medical .sm-float b { font-size: 20px; color: var(--petrol); letter-spacing: -.02em; }
.dx-medical .sm-float--a { left: -28px; bottom: 14%; }
.dx-medical .sm-float--b { right: -16px; top: 10%; }
.dx-medical .sm-float--b b { color: #d99a00; }

/* ---- the mouth in 3D and the written plan */
.dx-medical .sm-plan { background: var(--mint-bg); }
.dx-medical .sm-plan__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.dx-medical .sm-mouth { position: relative; padding: clamp(20px, 3vw, 40px); border-radius: var(--r); background: #fff; perspective: 1100px; box-shadow: 0 30px 60px -40px rgba(13, 75, 79, .45); }
.dx-medical .sm-mouth__jaws { position: relative; aspect-ratio: 1 / .95; max-width: 560px; margin: 0 auto; transform-style: preserve-3d; transform: rotateX(28deg); transition: transform .5s var(--ease); pointer-events: none; }
.dx-medical .sm-mouth__label { position: absolute; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--muted); white-space: nowrap; }
.dx-medical .sm-mouth__label--up { top: 30%; }
.dx-medical .sm-mouth__label--down { bottom: 30%; }
.dx-medical .sm-tooth { position: absolute; padding: 0; border: 0; border-radius: 42% 42% 48% 48%; background: #fbfdfc; transform: translate(-50%, -50%) rotate(var(--a)) translateZ(2px); transform-style: preserve-3d; pointer-events: auto; transition: transform .35s var(--ease), background .25s; box-shadow: inset 0 -5px 0 rgba(13, 75, 79, .12), 0 3px 0 rgba(13, 75, 79, .2); }
.dx-medical .sm-tooth span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.dx-medical .sm-tooth:hover { transform: translate(-50%, -50%) rotate(var(--a)) translateZ(14px); }
.dx-medical .sm-tooth.is-active { transform: translate(-50%, -50%) rotate(var(--a)) translateZ(26px) scale(1.12); box-shadow: inset 0 -5px 0 rgba(13, 75, 79, .12), 0 10px 18px rgba(13, 75, 79, .3); outline: 3px solid var(--petrol); outline-offset: 2px; }
.dx-medical .sm-tooth.has-tr { background: var(--c); }
.dx-medical .sm-tooth.has-tr span { color: #fff; }
.dx-medical .sm-mouth__hint { text-align: center; color: var(--muted); font-size: 15px; }
.dx-medical .sm-pickt { margin-top: 14px; padding: 18px; border-radius: 16px; background: var(--surface); animation: dx-in .3s var(--ease); }
.dx-medical .sm-pickt p { font-weight: 700; margin-bottom: 12px; color: var(--petrol); }
.dx-medical .sm-pickt__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-medical .sm-pickt__opts button { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; font-size: 15px; font-weight: 600; transition: background .2s, color .2s, transform .2s var(--ease); }
.dx-medical .sm-pickt__opts button small { font-size: 13px; font-weight: 500; color: var(--muted); }
.dx-medical .sm-pickt__opts button:hover { transform: translateY(-2px); }
.dx-medical .sm-pickt__opts button[aria-pressed=true] { background: var(--c); border-color: var(--c); color: #fff; }
.dx-medical .sm-pickt__opts button[aria-pressed=true] small { color: rgba(255, 255, 255, .85); }
.dx-medical .sm-sheet { position: sticky; top: 96px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--petrol); color: #fff; box-shadow: 0 40px 80px -40px rgba(9, 58, 61, .8); }
.dx-medical .sm-sheet h3 { font: 800 22px/1.1 var(--font-display); letter-spacing: -.02em; margin-bottom: 18px; }
.dx-medical .sm-sheet__rows { display: grid; gap: 6px; margin-bottom: 18px; }
.dx-medical .sm-sheet__rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, .1); animation: dx-in .3s var(--ease); }
.dx-medical .sm-sheet__rows .sm-sheet__none { background: transparent; color: rgba(255, 255, 255, .7); padding: 0; animation: none; }
.dx-medical .sm-sheet__all { display: grid; gap: 10px; margin-bottom: 22px; }
.dx-medical .sm-sheet__all label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.dx-medical .sm-sheet__all input { width: 20px; height: 20px; accent-color: var(--mint); }
.dx-medical .sm-sheet__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.dx-medical .sm-sheet__sum b { font: 800 clamp(2.5rem, 1.8rem + 2vw, 3.5rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--mint); font-variant-numeric: tabular-nums; }
.dx-medical .sm-sheet__inst { margin: 6px 0 14px; font-weight: 700; }
.dx-medical .sm-sheet__note { font-size: 14px; color: rgba(255, 255, 255, .72); margin-bottom: 22px; }
.dx-medical .sm-sheet .sm-btn { background: var(--mint); color: var(--petrol-2); box-shadow: none; }
.dx-medical .sm-sheet .sm-btn:hover { background: #8de0c8; }

/* ---- treatments: cards with their pictures */
.dx-medical .sm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.dx-medical .sm-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.dx-medical .sm-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(13, 75, 79, .5); }
.dx-medical .sm-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.dx-medical .sm-card figure img { width: 100%; height: 100%; object-fit: cover; }
.dx-medical .sm-card__b { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.dx-medical .sm-card h3 { font: 800 22px/1.15 var(--font-display); letter-spacing: -.02em; color: var(--petrol); }
.dx-medical .sm-card p { color: var(--muted); }
.dx-medical .sm-card__p { margin-top: auto; padding-top: 12px; font-weight: 800; color: var(--petrol) !important; }

/* ---- the visit: four steps on petrol */
.dx-medical .sm-visit { background: var(--petrol); color: #fff; }
.dx-medical .sm-visit .sm-h2 { color: #fff; }
.dx-medical .sm-visit .sm-kick { background: rgba(255, 255, 255, .1); color: var(--mint); }
.dx-medical .sm-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: v; }
.dx-medical .sm-how li { counter-increment: v; padding: 26px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .78); }
.dx-medical .sm-how li::before { content: counter(v); display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--mint); color: var(--petrol-2); font-weight: 800; }
.dx-medical .sm-how b { display: block; margin-bottom: 6px; font-size: 19px; line-height: 1.25; color: #fff; }

/* ---- prices beside the room */
.dx-medical .sm-price__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dx-medical .sm-prices { display: grid; margin-top: 30px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.dx-medical .sm-prices div { display: flex; justify-content: space-between; gap: 18px; padding: 20px 24px; font-size: var(--step-lead); }
.dx-medical .sm-prices div + div { border-top: 1px solid var(--line); }
.dx-medical .sm-prices div:first-child { background: var(--mint-bg); }
.dx-medical .sm-prices dd { font-weight: 800; color: var(--petrol); white-space: nowrap; }
.dx-medical .sm-price__note { margin-top: 16px; font-weight: 600; color: var(--muted); }
.dx-medical .sm-price__pic, .dx-medical .sm-about__pic { margin: 0; aspect-ratio: 4 / 5; border-radius: 140px 36px 36px 36px; overflow: hidden; }
.dx-medical .sm-price__pic img, .dx-medical .sm-about__pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---- about on mint */
.dx-medical .sm-about { background: var(--surface); }
.dx-medical .sm-about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dx-medical .sm-about__pic { border-radius: 36px 140px 36px 36px; }
.dx-medical .sm-ticks { display: grid; gap: 12px; margin: 28px 0 36px; }
.dx-medical .sm-ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.dx-medical .sm-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--petrol-2); font-size: 13px; font-weight: 800; }
.dx-medical .sm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dx-medical .sm-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px; border-radius: 16px; background: #fff; }
.dx-medical .sm-stats dd { font: 800 clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--petrol); font-variant-numeric: tabular-nums; }
.dx-medical .sm-stats dt { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---- what patients say */
.dx-medical .sm-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dx-medical .sm-quotes blockquote { margin: 0; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.dx-medical .sm-stars { color: #f0b429; letter-spacing: 2px; margin-bottom: 12px; }
.dx-medical .sm-quotes p:not(.sm-stars) { font-size: var(--step-lead); font-weight: 600; line-height: 1.4; color: var(--ink); }
.dx-medical .sm-quotes footer { margin-top: 14px; color: var(--muted); font-weight: 600; }

/* ---- questions and the booking side by side */
.dx-medical .sm-book { background: linear-gradient(180deg, #fff 0%, var(--mint-bg) 100%); }
.dx-medical .sm-book__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.dx-medical .sm-faq .sm-h2 { margin-bottom: 26px; }
.dx-medical .sm-faq details { border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }
.dx-medical .sm-faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--petrol); }
.dx-medical .sm-faq summary::-webkit-details-marker { display: none; }
.dx-medical .sm-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint-bg); transition: transform .3s var(--ease); }
.dx-medical .sm-faq details[open] summary::after { transform: rotate(45deg); }
.dx-medical .sm-faq details p { padding: 0 20px 18px; color: var(--muted); }
.dx-medical .sm-bookcard { padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; background: #fff; box-shadow: 0 40px 80px -50px rgba(13, 75, 79, .55); }
.dx-medical .sm-bookcard .sm-h2 { margin-bottom: 24px; }
.dx-medical .sm-urgent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; padding: 18px 20px; border-radius: 16px; background: #fde7e3; animation: dx-in .3s var(--ease); }
.dx-medical .sm-urgent .sm-btn { background: var(--coral); box-shadow: none; }
.dx-medical .sm-form { display: grid; gap: 18px; }
.dx-medical .sm-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.dx-medical .sm-form legend, .dx-medical .sm-form > label { font-weight: 700; font-size: var(--step-small); color: var(--petrol); }
.dx-medical .sm-form legend { margin-bottom: 10px; }
.dx-medical .sm-form > label { display: grid; gap: 6px; }
.dx-medical .sm-form input[type=text], .dx-medical .sm-form input[type=tel], .dx-medical .sm-form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font: 400 17px var(--font-text); }
.dx-medical .sm-form input:focus, .dx-medical .sm-form textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(111, 211, 182, .35); }
.dx-medical .sm-reasons, .dx-medical .sm-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-medical .sm-reasons input, .dx-medical .sm-slot input { position: absolute; opacity: 0; pointer-events: none; }
.dx-medical .sm-reasons span, .dx-medical .sm-slot span { display: inline-block; padding: 12px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.dx-medical .sm-reasons input:checked + span, .dx-medical .sm-slot input:checked + span { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.dx-medical .sm-reasons input:focus-visible + span, .dx-medical .sm-slot input:focus-visible + span { outline: 3px solid var(--mint); }
.dx-medical .sm-slot { position: relative; }
.dx-medical .sm-form .sm-btn { justify-self: start; }
.dx-medical .sm-done { padding: 24px; border-radius: 16px; background: var(--mint-bg); animation: dx-in .4s var(--ease); }
.dx-medical .sm-done__t { font: 800 26px/1.1 var(--font-display); color: var(--petrol); margin-bottom: 8px; }
.dx-medical .sm-done p + p { margin-top: 8px; }

/* ---- the close */
.dx-medical .sm-foot { padding: clamp(56px, 6vw, 90px) 0 40px; background: var(--petrol-2); color: rgba(255, 255, 255, .8); }
.dx-medical .sm-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 20px; align-items: center; }
.dx-medical .sm-foot__name { display: inline-flex; align-items: center; gap: 12px; font: 800 clamp(1.6rem, 1rem + 1.6vw, 2.6rem)/1 var(--font-display); letter-spacing: -.03em; color: #fff; }
.dx-medical .sm-foot a { color: var(--mint); font-weight: 700; }

@media (max-width: 960px) {
	.dx-medical .sm-links, .dx-medical .sm-call { display: none; }
	.dx-medical .sm-bar .sm-btn { margin-left: auto; }
	.dx-medical .sm-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.dx-medical .sm-hero__text { justify-self: start; }
	.dx-medical .sm-hero__pic { height: 60svh; }
	.dx-medical .sm-float--a { left: 12px; }
	.dx-medical .sm-float--b { right: 12px; }
	.dx-medical .sm-plan__grid, .dx-medical .sm-price__grid, .dx-medical .sm-about__grid, .dx-medical .sm-book__grid { grid-template-columns: minmax(0, 1fr); }
	.dx-medical .sm-sheet { position: relative; top: auto; }
	.dx-medical .sm-cards, .dx-medical .sm-quotes { grid-template-columns: minmax(0, 1fr); }
	.dx-medical .sm-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dx-medical .sm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dx-medical .sm-foot__grid { grid-template-columns: minmax(0, 1fr); }
	.dx-medical .sm-tooth span { font-size: 9px; }
}
@media (max-width: 560px) {
	.dx-medical .sm-how { grid-template-columns: minmax(0, 1fr); }
}
.dx-medical .sm-plan .sm-kick, .dx-medical .sm-about .sm-kick { background: #fff; }
