@import url("fonts.css");

:root {
  --bg: #faf7f2;
  --bg-2: #f3eee6;
  --surface: #ffffff;
  --ink: #1b2230;
  --ink-2: #4b5364;
  --ink-3: #7a8191;
  --line: #e6dfd3;
  --accent: #c23c0e;
  --accent-ink: #a8330b;
  --accent-soft: #fbeae2;
  --deep: #18212e;
  --deep-2: #222d3d;
  --on-deep: #eef1f5;
  --on-deep-2: #a9b3c2;
  --ok: #1f8a5b;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 34, 48, .05), 0 12px 32px -12px rgba(27, 34, 48, .18);
  --shadow-lg: 0 2px 4px rgba(27, 34, 48, .05), 0 30px 60px -20px rgba(27, 34, 48, .28);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(194, 60, 14, .6); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--accent-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(250, 247, 242, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 600; white-space: nowrap; }
.brand-sub { font-size: 12.5px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--bg-2); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; margin-left: 8px; }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 16px; }
  .nav .btn span { display: none; }
  .nav .btn { width: 44px; padding: 0; margin: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(255, 56, 0, .09), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.hero h1 { font-size: clamp(40px, 6.2vw, 72px); margin: 20px 0 8px; font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero .doctor { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); color: var(--ink-2); margin-bottom: 24px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.hero-facts svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

.hero-media { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.status-card {
  position: absolute; left: -28px; bottom: 32px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px; min-width: 250px; max-width: calc(100% - 24px);
}
.status-top { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); flex: none; position: relative; }
.status-card.is-open .status-dot { background: var(--ok); }
.status-card.is-open .status-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.status-sub { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .status-card { left: 16px; bottom: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); margin-top: 14px; }
.section-head p { color: var(--ink-2); margin-top: 16px; font-size: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- Services ---------- */
.services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 22px; margin-bottom: 14px; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { padding: 7px 0; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 16px; }
.card li:first-child { border-top: 0; }

@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Hours + practice ---------- */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }

.hours-card { background: var(--deep); color: var(--on-deep); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.hours-card h3 { font-size: 28px; color: #fff; }
.hours-card .sub { color: var(--on-deep-2); margin-top: 6px; font-size: 15.5px; }
.hours { width: 100%; border-collapse: collapse; margin-top: 26px; font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-deep-2); padding: 0 0 10px; }
.hours th:not(:first-child), .hours td:not(:first-child) { text-align: right; }
.hours td { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 16.5px; }
.hours td:first-child { font-weight: 500; }
.hours .closed { color: rgba(255, 255, 255, .28); }
.hours tr.today td { color: #fff; }
.hours tr.today td:first-child::after { content: "Σήμερα"; margin-left: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.hours-note { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--deep-2); color: var(--on-deep); font-size: 15.5px; display: flex; gap: 12px; }
.hours-note svg { width: 22px; height: 22px; color: #ff8a5c; flex: none; margin-top: 1px; }
.hours-card .btn { margin-top: 24px; width: 100%; }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.feature p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }

@media (max-width: 900px) { .practice-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .hours td { font-size: 15px; }
  .hours tr.today td:first-child::after { display: none; }
  .hours tr.today td:first-child { color: #ff8a5c; }
}

/* ---------- Gallery ---------- */
.gallery-section { background: var(--bg-2); }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(420px, 48vw, 600px); }
.gallery button { all: unset; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--line); }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery button:first-child { grid-row: span 2; }
.gallery button:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .cap {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--ink); font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; }
  .gallery button { aspect-ratio: 4 / 3; }
  .gallery button:first-child { grid-row: auto; grid-column: span 2; }
  .gallery button:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery button:first-child, .gallery button:nth-child(4) { grid-column: auto; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 20, 28, .88); backdrop-filter: blur(4px); }
.lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 500; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.info-row:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.info-row .feature-icon { width: 44px; height: 44px; }
.info-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.info-value { font-size: 18px; font-weight: 500; margin-top: 2px; }
.info-value small { display: block; font-size: 15px; color: var(--ink-2); font-weight: 400; }
.map { flex: 1; min-height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 28px; }
.form-card > p { color: var(--ink-2); margin-top: 8px; }
.form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-privacy { font-size: 13.5px; color: var(--ink-3); }
.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15.5px; font-weight: 500; }
.form-msg.ok { display: block; background: #e6f4ec; color: #145c3d; }
.form-msg.err { display: block; background: var(--accent-soft); color: var(--accent-ink); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-2); padding: 56px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--on-deep-2); }
.site-footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p + p { margin-top: 4px; }
.footer-about { margin-top: 16px; max-width: 30em; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px; border-radius: 999px; background: rgba(24, 33, 46, .94);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .45);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .callbar.show { transform: none; }
  .callbar .btn { min-height: 46px; font-size: 15px; padding: 0 12px; }
  .callbar .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); }
  body { padding-bottom: 76px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Additions: rating, reviews, booking ---------- */
.hero-facts svg.star { color: #e9a23b; }
.hero-facts a { text-decoration: none; }
.hero-facts a:hover { text-decoration: underline; }
.hero-facts strong { color: var(--ink); }

.hours-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.hours-actions .btn { margin: 0; width: 100%; padding: 0 16px; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { border-color: #fff; }
@media (max-width: 520px) { .hours-actions { grid-template-columns: 1fr; } }

.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.score { display: flex; align-items: center; gap: 18px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; transition: border-color .2s, box-shadow .2s; }
.score:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.score-num { font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; }
.score-num small { font-size: 18px; color: var(--ink-3); }
.score-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--ink-2); }
.stars { display: flex; gap: 2px; color: #e9a23b; }
.stars svg { width: 17px; height: 17px; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote::before { content: "“"; position: absolute; top: 4px; right: 22px; font-family: var(--serif); font-size: 90px; line-height: 1; color: var(--accent-soft); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; position: relative; }
.quote figcaption { font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero-actions .btn { flex: 1 1 100%; } }
