/* =========================================================
   Doctor Shoes stylesheet
   Palette: clinic-grey paper, oxblood polish, waxed-thread yellow
   Type: Piazzolla (display) · Commissioner (text) · Fira Mono (labels)
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License). Greek + Latin subsets only. */
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/commissioner-normal-300-700-greek-v2.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: "Commissioner";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/commissioner-normal-300-700-latin-v2.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00BF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2122;
}
@font-face {
  font-family: "Fira Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fira-mono-normal-400-greek-v2.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: "Fira Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fira-mono-normal-400-latin-v2.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00BF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2122;
}
@font-face {
  font-family: "Fira Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fira-mono-normal-500-greek-v2.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: "Fira Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fira-mono-normal-500-latin-v2.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00BF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2122;
}
@font-face {
  font-family: "Piazzolla";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/piazzolla-italic-400-800-greek-v2.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: "Piazzolla";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/piazzolla-italic-400-800-latin-v2.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00BF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2122;
}
@font-face {
  font-family: "Piazzolla";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/piazzolla-normal-400-800-greek-v2.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: "Piazzolla";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/piazzolla-normal-400-800-latin-v2.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00BF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2122;
}

:root {
  color-scheme: light;
  --paper: #ecece8;
  --paper-2: #e1e1db;
  --card: #f7f7f4;
  --ink: #1b1a18;
  --ink-soft: #57544e;
  --line: #cdccc4;
  --oxblood: #6b1e23;
  --oxblood-2: #8a2a30;
  --oxblood-deep: #2d0d10;
  --thread: #e3aa3a;
  --on-dark: #f3eee6;
  --on-dark-soft: #c9bdb0;

  --f-display: "Piazzolla", "Georgia", "Times New Roman", serif;
  --f-text: "Commissioner", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Fira Mono", "Consolas", "Courier New", monospace;

  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.8rem);
  --step-5: clamp(2.8rem, 1.6rem + 5.2vw, 5.6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--thread); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- small type roles ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; border-top: 2px dashed currentColor; }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--ink-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; transition: height .3s var(--ease); }
.site-header.scrolled .nav { height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; height: 56px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand-logo { height: 46px; }
@media (max-width: 600px) { .brand-logo, .site-header.scrolled .brand-logo { height: 44px; } }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 99px; position: relative;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--oxblood); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  border-top: 2px dashed var(--thread);
}
.nav-links .nav-cta { background: var(--oxblood); color: var(--on-dark); }
.nav-links .nav-cta:hover { background: var(--oxblood-2); }
.nav-links .nav-cta[aria-current="page"]::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 99px;
  width: 46px; height: 46px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0; z-index: -1;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); padding: 110px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s .45s;
  }
  .nav-open .nav-links { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
  .nav-links a { display: block; font-family: var(--f-display); font-size: 1.6rem; padding: 10px 4px; border-radius: 0; }
  .nav-links a[aria-current="page"]::after { left: 4px; right: auto; width: 60px; }
  .nav-links .nav-cta { text-align: center; border-radius: 99px; margin-top: 12px; font-family: var(--f-text); font-size: 1rem; padding: 14px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .98rem/1 var(--f-text);
  padding: 15px 24px; border-radius: 99px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--oxblood); color: var(--on-dark); }
.btn-primary:hover { background: var(--oxblood-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- stitch underline (animated seam) ---------- */
.stitch { position: relative; white-space: nowrap; display: inline-block; }
.stitch svg {
  position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: .32em; overflow: visible;
  clip-path: inset(0 100% 0 0);
  animation: sew 1.4s .7s var(--ease) forwards;
}
.stitch path { fill: none; stroke: var(--thread); stroke-width: 5; stroke-dasharray: 14 9; stroke-linecap: round; }
@keyframes sew { to { clip-path: inset(0 0 0 0); } }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head h2 { font-size: var(--step-4); }
.section-head.split { max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px 64px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- HOME hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .hero-title { font-family: var(--f-display); font-size: var(--step-5); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.hero .hero-title em { font-style: italic; font-weight: 400; color: var(--oxblood); }
.hero h1.eyebrow { font-weight: 500; line-height: 1.5; letter-spacing: .14em; align-items: flex-start; }
.hero h1.eyebrow::before { flex: none; margin-top: .75em; }
.hero .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.rating-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 30px; padding: 14px 24px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 1.15rem; background: var(--card); box-shadow: 0 10px 30px -18px rgba(40,10,10,.35); transition: border-color .3s; }
.rating-badge:hover { border-color: var(--oxblood); }
.rating-badge .rating-stars { color: #e8a317; letter-spacing: 2px; font-size: 1.35rem; line-height: 1; }
.rating-badge b { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
@media (max-width: 600px) { .rating-badge { flex-wrap: nowrap; gap: 8px; padding: 12px 18px; font-size: .95rem; white-space: nowrap; } .rating-badge .rating-stars { font-size: 1.1rem; letter-spacing: 1px; } .rating-badge b { font-size: 1.3rem; } }
.rating-badge span:last-child { color: var(--ink-soft); }
.hero-facts { display: grid; gap: 18px; max-width: 440px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-years { display: flex; align-items: baseline; gap: 12px; }
.hero-years strong { font-family: var(--f-display); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.hero-years span { color: var(--ink-soft); }
.hero-hours-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.hero-hours-title { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oxblood); }
.hero-hours .open-state { font-size: .8rem; padding: 4px 11px; }
.hero-hours dl { margin: 0; }
.hero-hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hero-hours dt { font-weight: 500; }
.hero-hours dd { margin: 0; font-family: var(--f-mono); font-size: .92rem; }

.rise { animation: rise .9s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .28s; } .rise.d4 { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- marquee ribbon ---------- */
.ribbon {
  background: var(--oxblood); color: var(--on-dark);
  padding-block: 18px; overflow: hidden; position: relative;
  border-block: 2px dashed var(--thread);
  outline: 6px solid var(--oxblood); outline-offset: -8px;
}
.ribbon-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); padding-inline: 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 52px; }
.ribbon-track span::after { content: "+"; font-style: normal; color: var(--thread); font-family: var(--f-mono); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  background: var(--paper); padding: 30px 28px 32px; display: grid; gap: 12px; align-content: start;
  position: relative; overflow: hidden; transition: background .35s var(--ease);
}
.service:hover { background: var(--card); }
.service-icon { width: 46px; height: 46px; color: var(--oxblood); transition: transform .5s var(--ease); }
.service:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service h3 { font-size: var(--step-2); }
.service p { color: var(--ink-soft); font-size: .96rem; }
.service .price { font-family: var(--f-mono); font-size: .82rem; color: var(--oxblood); margin-top: 6px; }
.service::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: 16px; border-top: 2px dashed var(--thread);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service:hover::after { transform: scaleX(1); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ---------- diagnosis (dark section with hotspots) ---------- */
.dark { background: var(--oxblood-deep); color: var(--on-dark); }
.dark .eyebrow { color: var(--thread); }
.dark .lead, .dark .muted { color: var(--on-dark-soft); }
.diag-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.diag-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; max-width: 100%; }
.diag-photo img { width: 100%; height: 100%; object-fit: cover; }
.hotspot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--thread); color: var(--oxblood-deep);
  font: 600 1.1rem/1 var(--f-mono); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(227,170,58,.6); animation: pulse 2.4s infinite;
  transition: transform .25s var(--ease), background .2s;
}
.hotspot:hover { transform: scale(1.12); }
.hotspot[aria-pressed="true"] { background: var(--on-dark); animation: none; box-shadow: 0 0 0 6px rgba(243,238,230,.25); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227,170,58,.6); } 70%,100% { box-shadow: 0 0 0 16px rgba(227,170,58,0); } }
.diag-card { border-top: 1px solid rgba(243,238,230,.18); padding-top: 26px; margin-top: 28px; min-height: 220px; }
.diag-card .part { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--thread); }
.diag-card h3 { font-size: var(--step-3); margin: 10px 0 12px; }
.diag-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.diag-card li { display: flex; gap: 10px; color: var(--on-dark-soft); }
.diag-card li::before { content: "+"; color: var(--thread); font-family: var(--f-mono); }
.diag-card.swap { animation: swapIn .5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } }
.diag-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.diag-tabs button {
  background: transparent; border: 1px solid rgba(243,238,230,.3); color: var(--on-dark);
  font: 500 .85rem/1 var(--f-text); padding: 9px 14px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s;
}
.diag-tabs button[aria-pressed="true"], .diag-tabs button:hover { background: var(--on-dark); color: var(--oxblood-deep); }
@media (max-width: 860px) { .diag-grid { grid-template-columns: 1fr; } }

/* ---------- process steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; border-top: 2px dashed var(--line);
}
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step-no {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--ink);
  font: 500 .95rem/1 var(--f-mono); position: relative; z-index: 1; margin-bottom: 10px;
  transition: background .3s, color .3s, border-color .3s;
}
.step:hover .step-no { background: var(--oxblood); color: var(--on-dark); border-color: var(--oxblood); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 23px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--line); }
  .step { grid-template-columns: 48px 1fr; column-gap: 18px; }
  .step-no { grid-row: span 2; margin: 0; }
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em;
  background: var(--card); color: var(--ink); padding: 5px 9px; border-radius: 2px;
  transform: translateY(8px); opacity: 0; transition: .35s var(--ease);
}
.gallery figure:hover figcaption { transform: none; opacity: 1; }
.g1 { grid-column: span 5; grid-row: span 4; }
.g2 { grid-column: span 4; grid-row: span 2; }
.g3 { grid-column: span 3; grid-row: span 2; }
.g4 { grid-column: span 3; grid-row: span 2; }
.g5 { grid-column: span 4; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g1 { grid-column: span 2 !important; grid-row: span 2 !important; }
  .gallery figcaption { opacity: 1; transform: none; }
}

.note { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); margin-top: 18px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: var(--step-5); letter-spacing: -0.025em; margin-top: 18px; }
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--oxblood); }
.page-hero .lead { margin-top: 24px; }
.crumbs { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-soft); display: flex; gap: 8px; }
.crumbs a { text-decoration: none; padding-block: 4px; } .crumbs a:hover { color: var(--oxblood); }

/* ---------- about ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-split .text { display: grid; gap: 20px; }
.about-split .text p { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; }
.about-split .text p:first-of-type::first-letter {
  font-family: var(--f-display); font-size: 4.2rem; float: left; line-height: .85; padding: 6px 12px 0 0; color: var(--oxblood); font-weight: 600;
}
.portrait { position: relative; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.portrait figcaption { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }
.portrait .stamp {
  position: absolute; right: -14px; top: -14px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--thread); color: var(--oxblood-deep); display: grid; place-items: center; text-align: center;
  font: 600 .72rem/1.25 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  animation: spin 24s linear infinite;
}
.portrait .stamp b { display: block; font-family: var(--f-display); font-size: 2rem; letter-spacing: 0; text-transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } .portrait .stamp { right: 8px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(243,238,230,.18); }
.value { padding: 30px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.value + .value { padding-left: 28px; border-left: 1px solid rgba(243,238,230,.18); }
.value h3 { font-size: var(--step-2); }
.value p { color: var(--on-dark-soft); }
.value .value-icon { width: 44px; height: 44px; color: var(--thread); }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(243,238,230,.18); }
}

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-mono); font-size: 1.5rem; color: var(--oxblood); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 70ch; }
.faq details[open] p { animation: swapIn .4s var(--ease); }

/* ---------- contact ---------- */
.form-shell { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
.shop-photo { margin: 0; }
.shop-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-item { background: var(--paper); padding: 28px; display: grid; gap: 8px; align-content: start; }
.contact-item .k { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oxblood); }
.contact-item .v { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
.contact-item .v a { text-decoration: none; }
.contact-item .v a:hover { color: var(--oxblood); }
.copy-btn {
  justify-self: start; font: 500 .8rem/1 var(--f-mono); background: transparent; border: 1px solid var(--line);
  padding: 7px 11px; border-radius: 99px; cursor: pointer; color: var(--ink-soft); transition: .2s;
}
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--f-mono); font-size: .9rem; }
.hours tr.today td { color: var(--oxblood); font-weight: 600; }
.open-state[hidden] { display: none; }
.open-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 99px; }
.open-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-state.is-open { background: #dcebdc; color: #2f6b3a; }
.open-state.is-closed { background: #f0dcdc; color: #8a2a30; }

.map-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px;
  background: var(--paper-2);
}
.map-live { display: block; padding: 0; min-height: 380px; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.map-note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- CTA strip ---------- */
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; border-top: 1px solid var(--line); }
.cta-strip h2 { font-size: var(--step-3); max-width: 22ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding-block: 64px 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { line-height: 1.6; font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--thread); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--on-dark); }
.site-footer .brand-logo { height: 64px; }
.foot-about { margin-top: 18px; max-width: 34ch; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px dashed rgba(243,238,230,.2); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  transform: translate(-50%, 140%); background: var(--ink); color: var(--on-dark);
  padding: 12px 20px; border-radius: 99px; font-size: .9rem; transition: transform .45s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ribbon-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- services page ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 14px 56px; padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc h2 { font-size: var(--step-3); }
.svc p { color: var(--ink-soft); max-width: 62ch; }
.svc ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-soft); display: grid; gap: 4px; }
.svc .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-family: var(--f-mono); font-size: .8rem; color: var(--oxblood); }
.svc img { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-top: 18px; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

/* ---------- areas ---------- */
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.area-pill { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; transition: border-color .3s, color .3s; }
.area-pill:hover { border-color: var(--oxblood); color: var(--oxblood); }

/* ---------- language switcher ---------- */
.nav-links { order: 1; margin-left: auto; }
.lang-switch { order: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line);
  border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .85rem; letter-spacing: .04em; color: var(--ink);
  transition: border-color .2s, background .2s; flex: none; }
.lang-switch:hover { border-color: var(--oxblood); background: var(--paper-2); }
.lang-switch .flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.nav-toggle { order: 3; }
@media (max-width: 1020px) { .lang-switch { margin-left: auto; } .nav-toggle { margin-left: 4px; } }

/* ---------- hero photo (Θοδωρής at the counter) ---------- */
.hero-photo { margin: 0; justify-self: end; align-self: start; width: 100%; max-width: 640px; }
.welcome-frame { position: relative; display: block; }
.welcome-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--oxblood);
  border-radius: var(--radius); opacity: .35; z-index: 0; }
.hero-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
  max-height: calc(100svh - 245px); min-height: 420px; object-fit: cover; object-position: 50% 40%;
  border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(40, 10, 10, .5); background: var(--paper-2); }
.hero-photo figcaption { margin-top: 34px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--ink-soft); }
@media (max-width: 860px) {
  .hero-photo { order: -1; justify-self: stretch; max-width: none; }
  .hero-photo img { max-height: 62svh; min-height: 0; }
  .welcome-frame::before { inset: 14px -10px -14px 10px; }
  .hero-photo figcaption { margin-top: 24px; }
}

/* ---------- phones: more compact ---------- */
@media (max-width: 600px) {
  :root { --step-2: 1.28rem; --step-3: 1.55rem; --step-4: 1.95rem; --step-5: 2.4rem; }
  section { padding-block: 44px; }
  .section-head { gap: 12px; margin-bottom: 24px; }
  .lead { font-size: 1.06rem; }
  .nav { height: 64px; }
  .site-header.scrolled .nav { height: 58px; }
  .nav-links { padding-top: 88px; }

  .hero { padding-block: 18px 40px; }
  .hero .lead { margin-top: 16px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .rating-badge { margin-top: 18px; }
  .hero-facts { margin-top: 26px; padding-top: 18px; gap: 14px; }
  .hero-years strong { font-size: 2rem; }
  .btn { padding: 14px 20px; }

  .ribbon { padding-block: 12px; }

  .service { grid-template-columns: 34px 1fr; gap: 2px 14px; padding: 16px 16px 18px; }
  .service-icon { grid-row: span 3; width: 32px; height: 32px; margin-top: 2px; }
  .service h3 { font-size: 1.15rem; }
  .service p { font-size: .9rem; line-height: 1.45; }
  .service .price { margin-top: 4px; }
  .service::after { display: none; }

  .diag-card { min-height: 0; margin-top: 18px; padding-top: 18px; }
  .diag-tabs { margin-top: 16px; }

  .steps { gap: 18px; }
  .steps::before { left: 19px; }
  .step { grid-template-columns: 40px 1fr; column-gap: 14px; gap: 4px; }
  .step-no { width: 40px; height: 40px; }
  .step h3 { font-size: 1.12rem; }
  .step p { font-size: .92rem; }

  .gallery { grid-auto-rows: 128px; gap: 8px; }

  .area-pills { gap: 8px; margin-top: 18px; }
  .area-pill { padding: 7px 13px; font-size: .88rem; }

  .faq summary { font-size: 1.08rem; padding: 16px 40px 16px 0; }
  .faq details p { padding-bottom: 18px; }

  .cta-strip { padding-block: 28px; gap: 16px; }
  .cta-strip .btn { flex: 1 1 100%; justify-content: center; }

  .page-hero { padding-block: 24px 28px; }
  .page-hero h1 { margin-top: 12px; }
  .page-hero .lead { margin-top: 14px; }

  .contact-item { padding: 18px; }
  .contact-item .v { font-size: 1.25rem; }
  .hours td { padding: 9px 0; }
  .map-live { min-height: 300px; }

  .svc { padding: 22px 0; gap: 10px; }

  .portrait .stamp { width: 92px; height: 92px; top: -10px; }
  .portrait .stamp b { font-size: 1.6rem; }
  .value { padding-block: 18px; }

  .site-footer { padding-block: 44px 24px; }
  .foot-grid { gap: 24px; }
  .foot-bottom { margin-top: 28px; }
}

@media (max-width: 380px) {
  .rating-badge { gap: 6px; padding: 10px 14px; font-size: .86rem; }
  .rating-badge .rating-stars { font-size: 1rem; }
  .rating-badge b { font-size: 1.15rem; }
}

/* ---------- legal pages (privacy policy) ---------- */
.legal { max-width: 72ch; }
.legal-updated { margin-top: 16px; font-family: var(--f-mono); font-size: .78rem; color: var(--ink-soft); }
.legal-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.legal .legal-summary h2 { font-size: var(--step-2); margin: 0 0 10px; }
.legal h2 { font-size: var(--step-3); margin: 44px 0 14px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal b { color: var(--ink); }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { color: var(--oxblood); }
.legal code { font-family: var(--f-mono); font-size: .88em; }
.foot-bottom a { padding-block: 4px; }
@media (max-width: 600px) { .legal h2 { margin-top: 32px; } .legal-summary { padding: 18px; } }
