/* Self-hosted fonts (variable). Only the faces a page actually uses are downloaded. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/source-serif-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/source-serif-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

/* Design tokens. The Customizer overrides the first group inline. */
:root {
	--c-primary: #0f6b73;
	--c-accent: #e0a458;
	--c-text: #17262b;
	--c-bg: #fff;
	--c-soft: #f2f7f7;
	--radius: 14px;
	--font-body: 'Inter', system-ui, sans-serif;
	--font-head: 'Inter', system-ui, sans-serif;
	--c-primary-dark: color-mix(in srgb, var(--c-primary) 62%, #000);
	--c-link: color-mix(in srgb, var(--c-primary) 55%, var(--c-text));
	--c-muted: color-mix(in srgb, var(--c-text) 62%, var(--c-bg));
	--c-line: color-mix(in srgb, var(--c-text) 12%, var(--c-bg));
	--c-footer: color-mix(in srgb, var(--c-primary) 20%, #0b1215);
	--shadow: 0 10px 30px color-mix(in srgb, var(--c-text) 12%, transparent);
	--header-h: 76px;
	--gutter: 20px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--c-muted); font-size: .92em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--c-primary); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: calc(var(--radius) * .8); border: 2px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-accent { background: var(--c-accent); color: #1b1b1b; box-shadow: 0 4px 14px color-mix(in srgb, var(--c-accent) 40%, transparent); }
.btn-outline { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost { background: var(--c-soft); color: var(--c-link); }

/* Header */
.site-header { position: relative; z-index: 100; background: var(--c-bg); border-bottom: 1px solid var(--c-line); transition: background .25s, box-shadow .25s, color .25s; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { text-decoration: none; color: inherit; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; }
.brand img { max-height: 52px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.primary-nav .menu { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { text-decoration: none; color: inherit; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a { border-bottom-color: var(--c-accent); }
.nav-left .primary-nav { margin-left: 2rem; margin-right: auto; }
.nav-center .primary-nav { margin-inline: auto; }
.nav-toggle { display: none; position: relative; z-index: 2; margin-left: auto; background: none; border: 0; padding: .6rem; cursor: pointer; color: inherit; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle .bars { transition: background .15s ease .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 0; transition: top .2s ease .2s, transform .25s ease; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
/* Open state: the outer bars meet in the middle first, then rotate into an X. Closing plays in reverse. */
.nav-toggle[aria-expanded="true"] .bars { background: transparent; transition-delay: 0s; }
.nav-toggle[aria-expanded="true"] .bars::before, .nav-toggle[aria-expanded="true"] .bars::after { top: 0; transition: top .2s ease, transform .25s ease .2s; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); }

.nav-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(8, 12, 14, .5); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

.header-sticky .site-header { position: sticky; top: 0; }
.header-sticky .site-header.is-scrolled { box-shadow: var(--shadow); }
.admin-bar.header-sticky .site-header { top: 32px; }

/* Transparent header over the hero turns solid after scrolling */
.header-transparent .site-header { position: absolute; inset: 0 0 auto 0; background: transparent; border-bottom-color: transparent; color: #fff; }
.header-transparent.header-sticky .site-header { position: fixed; width: 100%; }
.header-transparent .site-header.is-scrolled { background: var(--c-bg); color: var(--c-text); border-bottom-color: var(--c-line); }

.header-boxed .site-header { background: transparent; border: 0; padding: 14px var(--gutter) 0; }
.header-boxed .header-inner { background: var(--c-bg); color: var(--c-text); border-radius: calc(var(--radius) * 1.4); box-shadow: var(--shadow); padding-inline: 1.4rem; }
.header-boxed.header-transparent .site-header.is-scrolled { background: transparent; }
.header-boxed .site-header.is-scrolled { box-shadow: none; }

/* Hero: shared base */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); }
.hero > .container { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-tall { min-height: min(82vh, 760px); padding: calc(var(--header-h) + 3rem) 0 4rem; }
.hero-compact { min-height: 420px; padding: calc(var(--header-h) + 2rem) 0 3rem; }
.hero-page { min-height: clamp(340px, 46vh, 460px); padding: calc(var(--header-h) + 2.2rem) 0 3rem; }
body:not(.header-transparent) .hero-tall { padding-top: 4rem; }
body:not(.header-transparent) .hero-compact, body:not(.header-transparent) .hero-page { padding-top: 3rem; }
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; }
.hero-page h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.lead { font-size: 1.2rem; opacity: .95; max-width: 56ch; }
.hero-page .lead { font-size: 1.12rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--c-accent); margin-bottom: .6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero .btn-outline { color: #fff; }
.crumbs { display: flex; gap: .55rem; align-items: center; font-size: .85rem; letter-spacing: .02em; opacity: .92; margin-bottom: .9rem; }
.crumbs a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

/* Hero style: overlay (dark gradient from the left keeps the text readable) */
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
	linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 94%, #000) 0%, color-mix(in srgb, var(--c-primary) 78%, #000) 38%, color-mix(in srgb, var(--c-primary) 35%, transparent) 72%, transparent 100%),
	linear-gradient(0deg, color-mix(in srgb, #000 28%, transparent), transparent 45%); }

/* Hero style: centered */
.hero-style-centered .hero-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--c-primary-dark) 50%, transparent), color-mix(in srgb, var(--c-primary-dark) 74%, transparent)); }
.hero-style-centered .hero-inner { margin-inline: auto; text-align: center; max-width: 780px; }
.hero-style-centered .lead { margin-inline: auto; }
.hero-style-centered .hero-actions, .hero-style-centered .crumbs { justify-content: center; }

/* Hero style: split (text on solid color, image framed on the right) */
.hero-style-split { background: var(--c-primary-dark); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-media { border-radius: calc(var(--radius) * 1.6); overflow: hidden; aspect-ratio: 4 / 5; max-height: min(560px, 70vh); box-shadow: var(--shadow); }
.hero-style-split.hero-page .hero-media { aspect-ratio: 16 / 11; }

/* Trust strip, sections, section heads */
.trust-strip { background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 2rem; padding-block: 1.4rem; }
.trust-item { display: flex; flex-direction: column; }
.trust-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); }
.trust-item a { color: inherit; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-soft { background: var(--c-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .2rem; }
.section-tools { display: flex; align-items: center; gap: 1.2rem; }
.rule { display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--c-accent); margin-top: .3rem; }
.link-more { font-weight: 600; text-decoration: none; }
.link-more::after, .card-more::after { content: " \2192"; }

/* Cards: outline, filled or shadow */
.card-grid, .svc-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.card { display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; border: 1px solid transparent; }
.cards-outline .card { background: var(--c-bg); border-color: var(--c-line); }
.cards-filled .card { background: var(--c-soft); }
.cards-filled .section-soft .card { background: var(--c-bg); }
.cards-shadow .card { background: var(--c-bg); box-shadow: 0 6px 22px color-mix(in srgb, var(--c-text) 9%, transparent); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cards-outline .card:hover { border-color: color-mix(in srgb, var(--c-primary) 40%, var(--c-line)); }
.card-static { cursor: default; }
.card-static:hover { transform: none; box-shadow: none; }
.card-title { font-size: 1.2rem; }
.card p { color: var(--c-muted); flex: 1; }
.card-more { color: var(--c-link); font-weight: 600; }
.card-index { display: none; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: color-mix(in srgb, var(--c-accent) 85%, transparent); line-height: 1; }

/* Services layout: numbered list */
.svc-list .svc-items { display: block; }
.svc-list .card { display: grid; grid-template-columns: 64px minmax(170px, 1fr) 2fr auto; align-items: baseline; gap: .4rem 1.5rem; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; background: transparent; box-shadow: none; padding: 1.5rem .4rem; }
.svc-list .card:first-child { border-top: 1px solid var(--c-line); }
.svc-list .card:hover { transform: none; background: var(--c-soft); box-shadow: none; }
.svc-list .card-index { display: block; }
.svc-list .card p { margin: 0; }

/* Carousel (services and gallery) */
.carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 1rem .8rem 1.6rem; margin: -1rem -.8rem -.6rem; scroll-padding-inline: .8rem; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.svc-carousel .card { flex: 0 0 min(330px, 82%); scroll-snap-align: start; }
.carousel-btns { display: flex; gap: .5rem; }
.carousel-btn { position: relative; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1.5px solid var(--c-line); background: var(--c-bg); cursor: pointer; transition: background .15s, border-color .15s; }
.carousel-btn:hover { border-color: var(--c-primary); }
.carousel-btn::before { content: ""; position: absolute; inset: 0; margin: auto; width: .55rem; height: .55rem; border-top: 2px solid var(--c-primary); border-right: 2px solid var(--c-primary); transform: translateX(-12%) rotate(45deg); }
.carousel-btn[data-carousel-prev]::before { transform: translateX(12%) rotate(-135deg); }
.carousel-btn[aria-disabled="true"] { opacity: .35; cursor: default; }


/* About block */
.about-grid { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about-grid:not(:has(.about-photo, .about-scene)) { grid-template-columns: 1fr; max-width: 760px; }
.about-photo { order: 2; }
.about-photo img { border-radius: calc(var(--radius) * 1.6); box-shadow: var(--shadow); width: 100%; }

/* Gallery layouts: uniform grid (default), carousel, mosaic */
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--c-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gallery-item:hover img { transform: scale(1.04); }
.gal-grid .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gal-grid .gallery-item { aspect-ratio: 4 / 3; }
.gal-carousel .gallery-item { flex: 0 0 min(460px, 85%); aspect-ratio: 4 / 3; scroll-snap-align: start; }
.gal-mosaic .gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, 17vw); gap: 1rem; }
.gal-mosaic .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal-mosaic .gallery-item:nth-child(n+4) { grid-column: span 2; }

/* Info cards, lists, steps, timeline, FAQ */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.info-card { background: var(--c-soft); border-radius: var(--radius); padding: 1.8rem; }
.section-soft .info-card { background: var(--c-bg); }
.check-list, .tag-list, .hours-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.check-list li { padding-left: 1.8rem; position: relative; margin-bottom: .55rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: .55rem; border-left: 3px solid var(--c-primary); border-bottom: 3px solid var(--c-primary); transform: rotate(-45deg) translateY(-30%); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { background: var(--c-bg); border: 1px solid var(--c-line); padding: .3rem .8rem; border-radius: 999px; font-size: .92rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--c-line); font-size: .96rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.step { padding: 1.6rem; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); }
.step-num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; margin-bottom: .8rem; }
.step p { margin: 0; color: var(--c-muted); }

.timeline-wrap { max-width: 860px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--c-line); display: grid; gap: 1.2rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: baseline; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.4rem - 8px); top: .55em; width: 13px; height: 13px; border-radius: 50%; background: var(--c-accent); border: 3px solid var(--c-bg); box-shadow: 0 0 0 2px var(--c-accent); }
.t-year { font-weight: 700; color: var(--c-link); }

.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: .8rem; }
.faq-item { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq-item summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--c-link); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--c-muted); padding-bottom: 1.1rem; margin: 0; }
/* Smooth open and close where the browser supports animating the details content. */

.cta-band { background: var(--c-primary); color: #fff; padding: 3rem 0; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* Content pages */
.page-wrap { padding-block: 3rem 4rem; }
.not-found { text-align: center; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4rem 0 .4rem; }
.prose p, .prose li { font-size: 1.04rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4rem; }
.prose .note { background: var(--c-soft); border-left: 4px solid var(--c-accent); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }

.doctor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.side-stack { display: grid; gap: 1.2rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.doctor-grid > .side-card { position: sticky; top: calc(var(--header-h) + 1rem); }
.side-card { background: var(--c-soft); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.side-card h3 { margin: 0 0 .2rem; }
.side-card p { margin: 0; }
.side-card dl { margin: 0 0 .5rem; display: grid; gap: .1rem; }
.side-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin-top: .6rem; }
.side-card dd { margin: 0; font-weight: 600; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--c-line); }
.side-links li:last-child { border: 0; }
.side-links a { display: block; padding: .6rem 0; text-decoration: none; font-weight: 500; }
.side-links a:hover { color: var(--c-link); text-decoration: underline; }

/* Form */
.form { display: grid; gap: 1rem; margin-top: 1.2rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; }
.form input[type=text], .form input[type=tel] { font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--c-line); border-radius: calc(var(--radius) * .7); background: var(--c-bg); color: inherit; }
.form input:focus { border-color: var(--c-primary); outline: 3px solid color-mix(in srgb, var(--c-primary) 20%, transparent); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .94rem; }
.form .check input { margin-top: .35rem; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.2rem; border-radius: calc(var(--radius) * .7); margin: 1.2rem 0; }
.notice-ok { background: #e6f5ec; color: #14532d; }
.notice-err { background: #fdecea; color: #7f1d1d; }
.map-box { min-height: 300px; border-radius: var(--radius); background: var(--c-soft); display: grid; place-content: center; text-align: center; padding: 1rem; gap: .5rem; overflow: hidden; }
.map-box iframe { width: 100%; height: 320px; border: 0; }

/* Footer and mobile bar */
.site-footer { background: var(--c-footer); color: #cfdadd; padding-top: 3.2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; padding-bottom: 2.4rem; }
.footer-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.site-footer .hours-list li { border-color: color-mix(in srgb, #fff 14%, transparent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); font-size: .88rem; }
.footer-menu { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.mobile-bar { display: none; }

/* Chat widget */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 150; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; cursor: pointer; box-shadow: var(--shadow); }
.chat-fab::before { content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 20px; border-radius: 6px; background: #fff; }
.chat-fab::after { content: ""; position: absolute; left: 18px; bottom: 15px; border: 6px solid transparent; border-top-color: #fff; transform: translateY(8px); }
.chat-panel { position: fixed; right: 18px; bottom: 90px; z-index: 150; width: min(380px, calc(100vw - 36px)); max-height: 70vh; display: flex; flex-direction: column; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px) scale(.94); transform-origin: calc(100% - 28px) 100%; transition: opacity .3s ease, transform .45s cubic-bezier(.22, 1.2, .36, 1), visibility 0s linear .45s; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-panel.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; background: var(--c-primary); color: #fff; padding: .8rem 1rem; font-weight: 700; }
.chat-close { flex: none; position: relative; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); cursor: pointer; transition: background .15s, transform .2s; }
.chat-close:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }
.chat-close::before, .chat-close::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.chat-close::after { transform: rotate(-45deg); }
.chat-notice { font-size: .78rem; padding: .5rem 1rem; background: var(--c-soft); color: var(--c-muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; min-height: 160px; }
.chat-msg { padding: .55rem .85rem; border-radius: 14px; max-width: 85%; font-size: .95rem; line-height: 1.45; }
.chat-msg.bot { background: var(--c-soft); align-self: flex-start; }
.chat-msg.user { background: var(--c-primary); color: #fff; align-self: flex-end; }
.chat-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--c-line); }
.chat-form input { flex: 1; font: inherit; padding: .6rem .8rem; border: 1.5px solid var(--c-line); border-radius: 10px; }
.chat-form button { border: 0; background: var(--c-accent); font-weight: 700; padding: 0 1rem; border-radius: 10px; cursor: pointer; }

/* Reveal animation: the element unfolds in place using clip-path, without moving */
.has-motion [data-reveal] { --d: 0s; transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1) var(--d); }
.has-motion [data-reveal="left"]  { clip-path: inset(-40px 100% -40px -40px); }
.has-motion [data-reveal="right"] { clip-path: inset(-40px -40px -40px 100%); }
.has-motion [data-reveal="up"]    { clip-path: inset(100% -40px -40px -40px); }
.has-motion [data-reveal="down"]  { clip-path: inset(-40px -40px 100% -40px); }
.has-motion [data-reveal].is-in   { clip-path: inset(-40px); }
.has-motion .hero-bg[data-reveal] { transition-duration: 1.6s; }
@media (prefers-reduced-motion: reduce) {
	.has-motion [data-reveal] { clip-path: none !important; transition: none !important; }
	* { scroll-behavior: auto !important; }
}

/* Tablet and mobile */
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	/* The menu is a drawer that slides in from the right edge. */
	.primary-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1; width: min(86vw, 360px); height: 100vh; height: 100dvh; margin: 0; padding: calc(var(--header-h) + .6rem) 1.6rem 6rem; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.4rem; overflow-y: auto; background: var(--c-bg); color: var(--c-text); box-shadow: -20px 0 60px rgba(8, 12, 14, .25); transform: translateX(104%); visibility: hidden; transition: transform .5s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .5s; }
	.primary-nav.open { transform: none; visibility: visible; transition-delay: 0s; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--c-line); font-size: 1.15rem; font-family: var(--font-head); }
	.primary-nav .menu a:hover, .primary-nav .current-menu-item > a { border-bottom-color: var(--c-accent); }
	/* Items glide in one after another once the drawer is open. */
	.primary-nav .menu li, .primary-nav .header-cta { opacity: 0; transform: translateX(28px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
	.primary-nav.open .menu li, .primary-nav.open .header-cta { opacity: 1; transform: none; transition-delay: calc(.18s + var(--n, 0) * .06s); }
	.primary-nav .menu li:nth-child(1) { --n: 1; } .primary-nav .menu li:nth-child(2) { --n: 2; } .primary-nav .menu li:nth-child(3) { --n: 3; } .primary-nav .menu li:nth-child(4) { --n: 4; }
	.primary-nav .menu li:nth-child(5) { --n: 5; } .primary-nav .menu li:nth-child(6) { --n: 6; } .primary-nav .header-cta { --n: 7; align-self: flex-start; }
	/* While the drawer is open the icon must contrast with the drawer, whatever the header colour is. */
	.nav-open .nav-toggle { color: var(--c-text); }
	.nav-open { overflow: hidden; }
	.nav-open .mobile-bar, .nav-open .chat-fab, .nav-open .chat-panel { visibility: hidden; }
	.header-boxed .site-header { padding-inline: 10px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { aspect-ratio: 16 / 10; max-height: 320px; }
	.about-grid, .contact-grid, .doctor-grid { grid-template-columns: 1fr; }
	.side-stack, .doctor-grid > .side-card { position: static; }
	.timeline li { grid-template-columns: 1fr; gap: .1rem; }
	.gal-grid .gallery { grid-template-columns: repeat(2, 1fr); }
	.gal-mosaic .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.gal-mosaic .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; }
	.gal-mosaic .gallery-item:nth-child(1) { grid-column: span 2; }
	.svc-list .card { grid-template-columns: 48px 1fr; }
	.svc-list .card p, .svc-list .card-more { grid-column: 2; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; padding: .6rem var(--gutter); background: var(--c-bg); border-top: 1px solid var(--c-line); }
	body.has-mobile-bar { padding-bottom: 72px; }
	.chat-fab { bottom: 84px; }
	.chat-panel { bottom: 156px; }
}
@media (max-width: 700px) {
	.hero-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--c-primary) 88%, #000) 0%, color-mix(in srgb, var(--c-primary) 72%, #000) 100%); }
	.gal-grid .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar.header-sticky .site-header { top: 46px; } }

@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/commissioner-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/commissioner-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

/* Service card structure: the body wrapper is transparent unless a layout needs it */
.card-body { display: contents; }

/* Services layout: bento (photo cards in an asymmetric grid, details on hover) */
.svc-bento .svc-items { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, 21vw); gap: 1rem; }
.svc-bento .card { position: relative; overflow: hidden; padding: 0; border: 0; color: #fff; justify-content: flex-end; background: var(--c-primary-dark); }
.svc-bento .card-media { position: absolute; inset: 0; }
.svc-bento .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.svc-bento .card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 12, .88) 0%, rgba(5, 8, 12, .15) 62%, rgba(5, 8, 12, .1) 100%); }
.svc-bento .card:hover .card-img { transform: scale(1.07); }
.svc-bento .card-index { display: block; position: absolute; top: 1.1rem; left: 1.3rem; z-index: 1; font-size: .95rem; color: #fff; opacity: .85; }
.svc-bento .card-body { display: block; position: relative; z-index: 1; padding: 1.5rem; }
.svc-bento .card-title { color: #fff; margin-bottom: .3rem; font-size: 1.3rem; }
.svc-bento .card p { color: rgba(255, 255, 255, .9); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin .4s ease; }
.svc-bento .card:hover p, .svc-bento .card:focus-visible p { max-height: 9rem; opacity: 1; margin-bottom: .6rem; }
.svc-bento .card-more { color: var(--c-accent); }
.svc-bento .card:hover { transform: none; box-shadow: none; }
.svc-bento .card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.svc-bento .card:nth-child(n+4) { grid-column: span 2; }
.svc-bento .card:nth-child(1) .card-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* Services layout: showcase rows (large photo and text, alternating) */
.svc-rows .svc-items { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); }
.svc-rows .card { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: 0; border: 0; background: transparent; box-shadow: none; }
.svc-rows .card:hover { transform: none; box-shadow: none; }
.svc-rows .card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: calc(var(--radius) * 1.5); box-shadow: var(--shadow); }
.svc-rows .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.svc-rows .card:hover .card-img { transform: scale(1.05); }
.svc-rows .card { grid-template-areas: "media text"; }
.svc-rows .card:nth-child(even) { grid-template-areas: "text media"; }
.svc-rows .card-media { grid-area: media; }
.svc-rows .card-body { display: block; grid-area: text; align-self: center; }
.svc-rows .card-index { display: block; position: absolute; width: 0; height: 0; overflow: hidden; }
.svc-rows .card-title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.svc-rows .card-body p { font-size: 1.05rem; flex: none; }
.svc-rows .card-body::before { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--c-accent); margin-bottom: 1rem; }

/* Gallery layout: masonry keeps the natural height of each photo */
.gal-masonry .gallery { column-count: 3; column-gap: 1rem; }
.gal-masonry .gallery-item { break-inside: avoid; margin-bottom: 1rem; }
.gal-masonry .gallery-item img { height: auto; }

/* Hero style: immersive (full screen image, large type, glass info card) */
.hero-style-immersive { align-items: flex-end; }
.hero-style-immersive.hero-tall { min-height: min(100vh, 920px); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero-style-immersive .hero-bg::after { background:
	linear-gradient(0deg, rgba(5, 8, 12, .9) 0%, rgba(5, 8, 12, .45) 48%, rgba(5, 8, 12, .55) 100%); }
.hero-style-immersive.hero-tall h1 { font-size: clamp(2.5rem, 6.2vw, 5.2rem); letter-spacing: -.03em; line-height: 1.04; }
.hero-style-immersive .hero-inner { max-width: 820px; }
.hero-style-immersive .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: end; }
.hero-glass { padding: 1.5rem; border-radius: calc(var(--radius) * 1.3); color: #fff; background: color-mix(in srgb, #fff 10%, transparent); border: 1px solid color-mix(in srgb, #fff 24%, transparent); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.hero-glass dl { margin: 0; display: grid; gap: .15rem; }
.hero-glass dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; margin-top: .8rem; }
.hero-glass dt:first-child { margin-top: 0; }
.hero-glass dd { margin: 0; font-weight: 600; }
.hero-glass a { color: #fff; }

@media (max-width: 900px) {
	.svc-bento .svc-items { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
	.svc-bento .card:nth-child(n) { grid-column: auto; grid-row: auto; }
	.svc-bento .card:nth-child(1) { grid-column: span 2; }
	.svc-rows .card, .svc-rows .card:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "media" "text"; }
	.gal-masonry .gallery { column-count: 2; }
	.hero-style-immersive .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) { .gal-masonry .gallery { column-count: 1; } }
@media (hover: none) {
	.svc-bento .card p { max-height: 9rem; opacity: 1; margin-bottom: .6rem; }
}

@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/noto-display-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Serif Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/noto-display-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

/* Hero style: arch (light hero, arch-shaped photo, soft decorative shape, floating hours card) */
.hero-style-arch { background: var(--c-soft); color: var(--c-text); }
.hero-style-arch h1 { color: var(--c-text); font-weight: 500; letter-spacing: -.02em; }
.hero-style-arch.hero-tall h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; }
.hero-style-arch .eyebrow, .hero-style-arch .crumbs a { color: var(--c-link); }
.hero-style-arch .crumbs { opacity: 1; }
.hero-style-arch .lead { opacity: .85; }
.hero-style-arch .btn-outline { color: var(--c-text); }
.hero-style-arch .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero-arch.header-transparent .site-header { color: var(--c-text); }
.arch-media { position: relative; justify-self: center; width: min(100%, 460px); }
.arch-frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px calc(var(--radius) * 1.2) calc(var(--radius) * 1.2); box-shadow: var(--shadow); }
.arch-blob { position: absolute; width: 78%; aspect-ratio: 1; right: -14%; top: -4%; border-radius: 50%; background: var(--c-accent); opacity: .45; }
.arch-chip { position: absolute; z-index: 2; left: -9%; bottom: 12%; display: grid; gap: .1rem; padding: .9rem 1.2rem; border-radius: var(--radius); background: var(--c-bg); color: var(--c-text); box-shadow: var(--shadow); }
.arch-chip span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); }
.hero-style-arch.hero-page .arch-media { width: min(100%, 300px); }
.hero-style-arch.hero-page .arch-frame { aspect-ratio: 1 / 1; }

/* Services layout: expanding panels (photo panels, the hovered or focused one opens) */
.svc-panels .svc-items { display: flex; gap: .8rem; height: clamp(460px, 64vh, 640px); }
.svc-panels .card { position: relative; flex: 1 1 0; min-width: 0; padding: 0; overflow: hidden; border: 0; color: #fff; justify-content: flex-end; background: var(--c-primary-dark); border-radius: calc(var(--radius) * 1.6); transition: flex-grow .75s cubic-bezier(.2, .7, .2, 1); }
.svc-panels .card.is-active { flex-grow: 5.5; }
.svc-panels .card:hover { transform: none; box-shadow: none; }
.svc-panels .card-media { position: absolute; inset: 0; }
.svc-panels .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.svc-panels .card.is-active .card-img { transform: scale(1.06); }
.svc-panels .card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 12, 10, .86) 0%, rgba(8, 12, 10, .1) 62%); }
.svc-panels .card-index { display: block; position: absolute; top: 1.2rem; left: 1.4rem; z-index: 1; color: #fff; font-weight: 700; }
.svc-panels .card-body { display: block; position: relative; z-index: 1; padding: 1.6rem; }
.svc-panels .card-title { color: #fff; margin: 0; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.svc-panels .card:not(.is-active) .card-title { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; max-height: 16rem; overflow: hidden; text-overflow: ellipsis; font-size: 1.15rem; }
.svc-panels .card p, .svc-panels .card-more { max-width: 34rem; margin: .6rem 0 0; color: rgba(255, 255, 255, .92); opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s ease .15s, max-height .5s ease; }
.svc-panels .card-more { color: var(--c-accent); font-weight: 700; }
.svc-panels .card.is-active p, .svc-panels .card.is-active .card-more { opacity: 1; max-height: 9rem; }

/* Services layout: stacking cards (each card sticks and the next one slides over it while scrolling) */
.svc-stack .svc-items { display: block; }
.svc-stack { position: relative; z-index: 0; --stack-tail: 40vh; }
.svc-stack .svc-items { margin-bottom: calc(-1 * var(--stack-tail)); }
.svc-stack .svc-items::after { content: ""; display: block; height: var(--stack-tail); }
/* The next block scrolls over the pinned stack, so the cards are covered before the sticky range ends and never peel off one by one. */
.svc-stack ~ *, main:has(.svc-stack) ~ .site-footer { position: relative; z-index: 1; }
:where(.svc-stack ~ *) { background-color: var(--c-bg); }
.svc-stack .card { position: sticky; top: calc(var(--header-h) + 1rem + var(--i, 0) * 16px); display: grid; grid-template-columns: 1fr 1fr; height: clamp(420px, 68vh, 520px); margin-bottom: 2.4rem; padding: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: calc(var(--radius) * 1.6); background: var(--c-bg); box-shadow: 0 -14px 40px color-mix(in srgb, var(--c-text) 10%, transparent), 0 24px 50px color-mix(in srgb, var(--c-text) 10%, transparent); }
.svc-stack .card:hover { transform: none; }
.svc-stack .card-media { display: block; position: relative; order: 2; }
.svc-stack .card:nth-child(even) .card-media { order: 0; }
.svc-stack .card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-stack .card-index { display: block; position: absolute; z-index: 1; top: 1.4rem; left: clamp(1.6rem, 4vw, 3.5rem); font-size: clamp(3.4rem, 8vw, 6.5rem); line-height: .9; color: color-mix(in srgb, var(--c-accent) 70%, transparent); }
.svc-stack .card:nth-child(even) .card-index { left: calc(50% + clamp(1.6rem, 4vw, 3.5rem)); }
.svc-stack .card-body { display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: clamp(1.6rem, 4vw, 3.5rem); padding-top: clamp(5rem, 11vw, 8rem); }
.svc-stack .card-title { font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 0; }
.svc-stack .card-body p { flex: none; font-size: 1.05rem; }

/* Gallery layout: marquee (a slowly moving full-width photo strip) */
.gal-marquee { overflow: hidden; }
.marquee { overflow: hidden; }
.gal-marquee .gallery { display: flex; width: max-content; animation: clinic-marquee 55s linear infinite; }
.gal-marquee .marquee:hover .gallery { animation-play-state: paused; }
.gal-marquee .gallery-item { position: relative; flex: 0 0 clamp(240px, 24vw, 380px); aspect-ratio: 4 / 5; margin-right: 1rem; border-radius: calc(var(--radius) * 1.3); }
/* Photos fill the card without adding their own width, so the track width is exactly the sum of the cards. */
.gal-marquee .gallery-item img { position: absolute; inset: 0; }
@keyframes clinic-marquee { to { transform: translateX(-50%); } }

/* Chatbot: preselected questions taken from the FAQ */
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem 1rem .6rem; max-height: 9.5rem; overflow-y: auto; border-bottom: 1px solid var(--c-line); }
.chat-chips-title { flex-basis: 100%; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin-bottom: .1rem; }
.chat-chip { border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-link); border-radius: 999px; padding: .35rem .75rem; font: inherit; font-size: .84rem; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.chat-chip:hover { border-color: var(--c-primary); background: var(--c-soft); }

@media (prefers-reduced-motion: reduce) {
	.gal-marquee .marquee { overflow-x: auto; }
	.gal-marquee .gallery { animation: none; }
	.svc-panels .card, .svc-panels .card-img { transition: none; }
}

@media (max-width: 900px) {
	.hero-style-arch .hero-grid { grid-template-columns: 1fr; }
	.arch-media { width: min(78%, 360px); margin-top: 1rem; }
	.arch-chip { left: -4%; }
	.svc-panels .svc-items { flex-direction: column; height: auto; }
	.svc-panels .card { flex: none; height: 88px; transition: height .6s cubic-bezier(.2, .7, .2, 1); }
	.svc-panels .card.is-active { height: 380px; }
	.svc-panels .card:not(.is-active) .card-title { writing-mode: horizontal-tb; transform: none; font-size: 1.15rem; }
	.svc-panels .card:not(.is-active) .card-body { padding-top: 1.1rem; }
	.svc-panels .card-index { left: auto; right: 1.4rem; top: 1.1rem; }
	.svc-stack .card { position: relative; top: auto; grid-template-columns: 1fr; height: auto; min-height: 0; }
	.svc-stack .svc-items { margin-bottom: 0; }
	.svc-stack .svc-items::after { display: none; }
	.svc-stack .card-media, .svc-stack .card:nth-child(even) .card-media { order: 0; height: 240px; min-height: 0; max-height: none; }
	.svc-stack .card-index, .svc-stack .card:nth-child(even) .card-index { left: 1.4rem; top: 1rem; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); font-size: 3rem; }
	.svc-stack .card-body { padding-top: 1.6rem; }
}

@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/mplus-rounded-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/mplus-rounded-500-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/mplus-rounded-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/mplus-rounded-700-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

/* Highlights card: a floating panel with soft glows and thin dividers */
.stats { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.stats-card { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: clamp(1.6rem, 4vw, 2.6rem) 0; color: #fff; border-radius: calc(var(--radius) * 1.8); background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); box-shadow: var(--shadow); }
.stats-card::before, .stats-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.stats-card::before { width: 360px; height: 360px; right: -90px; top: -150px; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 40%, transparent), transparent 66%); }
.stats-card::after { width: 300px; height: 300px; left: -80px; bottom: -150px; background: radial-gradient(circle, color-mix(in srgb, #fff 16%, transparent), transparent 66%); }
.stat { position: relative; z-index: 1; padding: .5rem clamp(1rem, 3vw, 2.4rem); text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: color-mix(in srgb, #fff 26%, transparent); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.3rem, 4.8vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; color: var(--c-accent); }
.stat strong::after { content: ""; display: block; width: 38px; height: 3px; margin: .75rem auto .65rem; border-radius: 3px; background: currentColor; opacity: .55; }
.stat span { display: block; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; opacity: .92; }

@media (max-width: 700px) {
	.stat + .stat::before { left: 18%; right: 18%; top: 0; bottom: auto; width: auto; height: 1px; }
	.stat { padding-block: 1.1rem; }
}

/* Demo switcher: only rendered when the demo option exists */
.demo-switch { position: fixed; left: 10px; top: 50%; transform: translateY(-50%); z-index: 350; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.demo-switch a { background: rgba(15, 20, 30, .8); backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(0, 0, 0, .22); display: flex; align-items: center; gap: .6rem; height: 34px; min-width: 34px; border-radius: 999px; color: #fff; text-decoration: none; font: 600 .82rem/1 system-ui, sans-serif; overflow: hidden; transition: background .2s; }
.demo-switch-n { flex: none; width: 34px; text-align: center; }
.demo-switch-l { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .35s ease, opacity .25s ease, padding .35s ease; }
.demo-switch a:hover, .demo-switch a:focus-visible { background: rgba(15, 20, 30, .96); }
.demo-switch a:hover .demo-switch-l, .demo-switch a:focus-visible .demo-switch-l { max-width: 260px; opacity: 1; padding-right: 1rem; }
.demo-switch a.is-current { background: #ffb703; color: #1b1b1b; }
@media (max-width: 900px) {
	.demo-switch { left: 4px; gap: 4px; }
	.demo-switch a { height: 28px; min-width: 28px; font-size: .74rem; }
	.demo-switch-n { width: 28px; }
	.demo-switch-l { display: none; }
}

/* Team */
.team-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.team-count-1 { max-width: 320px; }
.team-count-2 { max-width: 640px; }
.team-count-3 { max-width: 960px; }
.team-card { text-align: center; }
.team-photo { --tr: calc(var(--radius) * 1.2); position: relative; aspect-ratio: 1 / 1.1; width: min(100%, 250px); overflow: hidden; margin: 0 auto 1rem; border-radius: 50% 50% var(--tr) var(--tr) / 45% 45% var(--tr) var(--tr); background: linear-gradient(145deg, var(--c-soft), color-mix(in srgb, var(--c-primary) 18%, var(--c-soft))); transition: border-radius .8s cubic-bezier(.22, .8, .25, 1), transform .8s cubic-bezier(.22, .8, .25, 1), box-shadow .8s ease; }
.team-card:nth-child(even) .team-photo { border-radius: var(--tr) var(--tr) 50% 50% / var(--tr) var(--tr) 45% 45%; }
.team-card:hover .team-photo { border-radius: var(--tr); transform: translateY(-6px); box-shadow: 0 18px 36px color-mix(in srgb, var(--c-text) 14%, transparent); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22, .8, .25, 1); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7vw, 4.6rem); letter-spacing: .02em; color: var(--c-primary); opacity: .75; }
.team-card h3 { margin: 0 0 .15rem; font-size: 1.15rem; }
.team-role { margin: 0 0 .5rem; color: var(--c-link); font-weight: 600; font-size: .9rem; }
.team-text { margin: 0 auto; max-width: 28ch; color: var(--c-muted); font-size: .95rem; }

/* Doctor page side card: the phone number must read as a button */
.side-card .btn-ghost { gap: .6rem; background: var(--c-bg); border-color: color-mix(in srgb, var(--c-primary) 55%, var(--c-bg)); color: var(--c-link); box-shadow: 0 2px 8px color-mix(in srgb, var(--c-text) 8%, transparent); }
.side-card .btn-ghost::before { content: ""; flex: none; width: 1.1em; height: 1.1em; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.side-card .btn-ghost:hover, .side-card .btn-ghost:focus-visible { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.about-scene { order: 2; align-self: center; }
.about-scene .scene { width: min(100%, 400px); margin-inline: auto; }

.chat-form input { min-width: 0; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 90px; z-index: 140; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--c-bg); color: var(--c-primary); box-shadow: 0 6px 20px color-mix(in srgb, var(--c-text) 22%, transparent), inset 0 0 0 2px color-mix(in srgb, var(--c-primary) 35%, transparent); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.85); transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.4, .5, 1), visibility 0s linear .35s, background .2s, color .2s; }
.to-top::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border: solid currentColor; border-width: 3px 0 0 3px; border-radius: 2px; transform: translate(-50%, -30%) rotate(45deg); transition: transform .3s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover, .to-top:focus-visible { background: var(--c-primary); color: #fff; }
.to-top:hover::before { transform: translate(-50%, -45%) rotate(45deg); }
.nav-open .to-top { visibility: hidden; }
@media (max-width: 900px) { .to-top { right: 22px; bottom: 154px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s ease, visibility 0s; transform: none; } }
.chat-fab { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s; }
.chat-fab:hover { transform: scale(1.08); }
.chat-fab:active { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .chat-panel, .chat-panel.open { transform: none; transition: opacity .15s ease, visibility 0s; } }
