/*
Theme Name: Lampiri Modern
Theme URI: https://logo.dma.com.gr
Author: DMA
Description: Ανασχεδιασμός για τη Λογοθεραπεία Λαμπίρη — ανοιχτοί τόνοι, ζωντανό φόντο, Piazzolla + Manrope.
Version: 2.0.0
Text Domain: lampiri
*/

:root {
  --paper: #fbf8f3;
  --paper-2: #f4efe6;
  --white: #ffffff;
  --ink: #22313a;
  --ink-soft: #4f5d66;
  --muted: #7b868c;
  --teal: #1d8580;
  --teal-deep: #136661;
  --teal-tint: #dff0ec;
  --peach: #f0a58e;
  --peach-tint: #fde8df;
  --butter: #f5d68a;
  --butter-tint: #fdf3d6;
  --lavender: #c9c0f0;
  --lavender-tint: #eeebfb;
  --sage: #bcd7c4;
  --line: rgba(34, 49, 58, 0.1);
  --shadow: 0 30px 60px -30px rgba(34, 49, 58, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(34, 49, 58, 0.35);
  --radius: 22px;
  --radius-lg: 34px;
  --display: "Piazzolla", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- living background ---------- */
#living-bg {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.4s ease;
}
#living-bg.is-ready { opacity: 1; }
.site-shell { position: relative; z-index: 1; }
.bg-fallback {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 12% 18%, rgba(188, 215, 196, .45), transparent 60%),
    radial-gradient(38vw 38vw at 88% 12%, rgba(253, 232, 223, .8), transparent 60%),
    radial-gradient(42vw 42vw at 70% 90%, rgba(238, 235, 251, .8), transparent 60%);
}

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .78);
  backdrop-filter: saturate(1.3) blur(16px);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -24px rgba(34,49,58,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; display: block; flex: none;
  filter: drop-shadow(0 8px 12px rgba(29,133,128,.28));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 1.18rem; font-weight: 600; }
.brand-text small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: .95rem;
}
.menu > li > a:hover, .menu > li.current > a { background: var(--white); color: var(--teal-deep); }
.menu .chev { width: 14px; height: 14px; transition: transform .25s; }
.menu li:hover .chev, .menu li:focus-within .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; min-width: 280px;
  list-style: none; margin: 0; padding: 10px; background: var(--white); border-radius: 20px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .22s ease;
}
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu li:hover > .submenu, .menu li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.submenu a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.submenu a svg { width: 17px; height: 17px; color: var(--teal); flex: none; }
.nav-cta { margin-left: 8px; }
.menu > li.nav-cta > a.btn-primary { background: var(--teal); color: #fff; }
.menu > li.nav-cta > a.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-family: var(--sans); font-weight: 750; font-size: .98rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 14px 28px -14px rgba(29,133,128,.8); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--teal-deep); transform: translateY(-2px); }
.btn-small { padding: 10px 18px; font-size: .92rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--peach); }
.hero-h1 { margin: 0; }
.hero-h1 .eyebrow { display: flex; width: fit-content; font-family: var(--sans); line-height: 1.4; letter-spacing: .16em; }
.hero-h1 .hero-title { display: block; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero h1 .squiggle { position: relative; white-space: nowrap; }
.hero h1 .squiggle svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .3em; color: var(--peach); }
.hero-lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 36em; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px dashed var(--line); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.hero-trust span { font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: 6px; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); background: var(--paper-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 650; line-height: 1.35;
  animation: floaty 7s ease-in-out infinite;
}
.hero-badge .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 20px; height: 20px; }
.hero-badge.b1 { left: -34px; top: 16%; }
.hero-badge.b1 .dot { background: var(--butter-tint); color: #a77a10; }
.hero-badge.b2 { right: -24px; bottom: 12%; animation-delay: -3.5s; }
.hero-badge.b2 .dot { background: var(--teal-tint); color: var(--teal-deep); }
.wave-canvas { position: absolute; left: -8%; right: -8%; bottom: -46px; height: 120px; width: 116%; pointer-events: none; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin-inline: auto; }
.tinted { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.85)); border-block: 1px solid var(--line); }

/* audience cards */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end;
  color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); isolation: isolate;
}
.aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.aud-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(22, 40, 44, .78)); }
.aud-card:hover img { transform: scale(1.06); }
.aud-body { padding: 28px; }
.aud-body h3 { color: #fff; font-size: 1.7rem; margin-bottom: .3em; }
.aud-body p { margin: 0 0 14px; color: rgba(255,255,255,.88); font-size: .98rem; line-height: 1.55; }
.aud-body .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: .92rem; color: #fff; }
.aud-body .more svg { width: 18px; height: 18px; transition: transform .25s; }
.aud-card:hover .more svg { transform: translateX(4px); }
.aud-card .tag { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 750; font-size: .78rem; padding: 7px 13px; border-radius: 999px; letter-spacing: .04em; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.82); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.svc::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -60px; top: -60px; background: var(--c, var(--teal-tint)); transition: transform .5s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.svc:hover::before { transform: scale(1.5); }
.svc .ico { position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); color: var(--teal-deep); margin-bottom: 22px; }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { position: relative; font-size: 1.28rem; margin-bottom: .4em; }
.svc p { position: relative; font-size: .94rem; color: var(--ink-soft); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.svc .go { position: relative; font-weight: 750; font-size: .88rem; color: var(--teal-deep); display: inline-flex; gap: 6px; align-items: center; }
.svc .go svg { width: 16px; height: 16px; }
.svc.c1 { --c: var(--teal-tint); } .svc.c2 { --c: var(--peach-tint); } .svc.c3 { --c: var(--lavender-tint); } .svc.c4 { --c: var(--butter-tint); }

/* concerns */
.concerns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 650; font-size: .95rem; box-shadow: 0 6px 16px -14px rgba(34,49,58,.5); transition: transform .25s, background .25s; }
.chip:hover { transform: translateY(-3px) rotate(-1deg); background: var(--butter-tint); }
.chip i, .chip svg { width: 8px; height: 8px; border-radius: 50%; background: var(--peach); flex: none; }
.chip:nth-child(3n+2) svg, .chip:nth-child(3n+2) i { background: var(--teal); }
.chip:nth-child(3n) svg, .chip:nth-child(3n) i { background: var(--lavender); }

/* split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
.photo-stack { position: relative; }
.photo-stack .main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.photo-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .inset { position: absolute; width: 42%; right: -22px; bottom: -40px; border-radius: 24px; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow); aspect-ratio: 3/4; }
.photo-stack .inset img { width: 100%; height: 100%; object-fit: cover; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.creds { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.creds li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: rgba(255,255,255,.75); border-radius: 16px; border: 1px solid var(--line); font-size: .96rem; line-height: 1.5; }
.creds svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 1px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: rgba(255,255,255,.85); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-size: 2.6rem; font-weight: 600; font-style: italic; color: var(--peach); line-height: 1; display: block; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .94rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.quote::before { content: "“"; font-family: var(--display); font-size: 5rem; line-height: .6; color: var(--peach); display: block; height: 34px; }
.quote p { font-family: var(--display); font-size: 1.12rem; line-height: 1.55; color: var(--ink); flex: 1; }
.quote cite { font-style: normal; font-weight: 750; font-size: .88rem; color: var(--muted); }
.quote:nth-child(2) { background: var(--teal-tint); border-color: transparent; transform: translateY(24px); }
.quote:nth-child(3) { background: var(--butter-tint); border-color: transparent; }

/* places / contact */
.places { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
.cta-card { padding: 40px; border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--teal) 0%, #2fa395 60%, #6cc0a8 100%); color: #fff; position: relative; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -110px; background: rgba(245,214,138,.45); }
.cta-card h2, .cta-card h3 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.9); position: relative; z-index: 1; }
.cta-card .btn { position: relative; z-index: 1; }
.cta-card .btn-light { background: #fff; color: var(--teal-deep); }
.cta-card .btn-light:hover { background: var(--butter-tint); color: var(--ink); transform: translateY(-2px); }
.cta-card .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-card .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-card .btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.place { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.place .pin { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--peach-tint); color: #c1593a; }
.place .pin svg { width: 22px; height: 22px; }
.place h3 { margin: 10px 0 0; }
.place p { color: var(--ink-soft); margin: 0; font-size: .97rem; line-height: 1.6; }
.place a.map { margin-top: auto; padding-top: 12px; font-weight: 750; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.place a.map svg { width: 16px; height: 16px; }

/* ---------- inner page ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.crumbs { font-size: .85rem; color: var(--muted); font-weight: 650; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-deep); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.page-hero .lead { margin-top: 14px; }
.page-hero-photo { border-radius: 160px 160px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.6; box-shadow: var(--shadow); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-body { padding: 24px 0 clamp(64px, 8vw, 110px); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; color: var(--teal-deep); }
.prose p, .prose li { color: #34434c; }
.prose ul { padding: 0; list-style: none; margin: 0 0 1.4em; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px var(--peach-tint); }
.prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.6em 0; padding: 24px 28px; border-radius: 20px; background: var(--teal-tint); font-family: var(--display); font-size: 1.08rem; line-height: 1.6; }
.prose blockquote p { color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose strong { color: var(--ink); font-weight: 750; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: 20px; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.prose details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.prose summary { cursor: pointer; font-weight: 750; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--teal); transition: transform .25s; }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details > :not(summary) { margin-top: 12px; }

.side { position: sticky; top: 100px; display: grid; gap: 18px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-box h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 800; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .95rem; }
.side-links a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.side-links li.current a { background: var(--teal); color: #fff; }
.side-links svg { width: 16px; height: 16px; opacity: .6; }
.side .cta-card { padding: 28px; }
.side .cta-card h3 { font-size: 1.4rem; }

.child-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.child-grid .svc { background: #fff; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; background: #fff; border-top: 1px solid var(--line); padding: 72px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.foot-grid a:hover { color: var(--teal); }
.foot-grid p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); font-weight: 600; }
.foot-bottom a { color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .places { grid-template-columns: 1fr 1fr; }
  .places .cta-card { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px;
    border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .menu {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 12px 20px 28px; max-height: calc(100vh - 78px); overflow-y: auto;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  body.menu-open .menu { transform: none; opacity: 1; visibility: visible; }
  .menu > li > a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); justify-content: space-between; font-size: 1.05rem; }
  .menu > li > a:hover { background: transparent; }
  .submenu { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 8px; min-width: 0; display: none; }
  .menu li.open > .submenu { display: block; }
  .menu .nav-cta { margin: 18px 0 0; }
  .menu .nav-cta .btn { width: 100%; justify-content: center; }
  .hero-grid, .page-hero-grid, .split, .concerns, .section-head { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-badge.b1 { left: -8px; } .hero-badge.b2 { right: -8px; }
  .audience { grid-template-columns: 1fr; }
  .aud-card { min-height: 340px; }
  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(2) { transform: none; }
  .page-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .page-hero-photo { max-width: 560px; }
  .photo-stack .inset { right: 10px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .nav { height: 70px; }
  .menu { inset: 70px 0 auto 0; }
  .brand-text small { display: none; }
  .services, .steps, .places, .child-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-badge { font-size: .8rem; padding: 10px 12px; }
  .hero-badge .dot { width: 32px; height: 32px; }
  .hero-trust { gap: 18px; }
  .hero-trust strong { font-size: 1.5rem; }
  .cta-card, .place { padding: 28px 24px; }
  .prose { padding: 26px 22px; border-radius: 24px; }
}

/* ---------- 360° tour ---------- */
.tour-section { padding: 0 0 clamp(24px, 4vw, 48px); }
.tour {
  position: relative; height: clamp(420px, 68vh, 720px); border-radius: var(--radius-lg); overflow: hidden;
  background: #dfe9e6; box-shadow: var(--shadow); isolation: isolate; user-select: none; -webkit-user-select: none;
}
.tour:fullscreen { height: 100%; border-radius: 0; }
.tour-stage { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.tour.dragging .tour-stage { cursor: grabbing; }
.tour-stage canvas { display: block; width: 100% !important; height: 100% !important; }
.tour-spots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.tour-spot {
  position: absolute; left: 0; top: 0; margin: -22px 0 0 -22px; display: flex; align-items: center; gap: 10px;
  padding: 0; border: 0; background: none; cursor: pointer; transition: opacity .25s; font: inherit;
}
.tour-spot .ring {
  width: 44px; height: 44px; border-radius: 50%; flex: none; background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 10px 24px -8px rgba(19,102,97,.6); position: relative;
  animation: tour-pulse 2.2s infinite;
}
.tour-spot .ring::after {
  content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--teal);
}
.tour-spot .lbl {
  background: rgba(255,255,255,.94); color: var(--ink); font-weight: 750; font-size: .88rem; white-space: nowrap;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.tour-spot:hover .ring::after, .tour-spot:focus-visible .ring::after { background: var(--peach); }
@keyframes tour-pulse { 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0), 0 10px 24px -8px rgba(19,102,97,.6); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 10px 24px -8px rgba(19,102,97,.6); } }
.tour-veil { position: absolute; inset: 0; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .28s; z-index: 3; }
.tour-veil.on { opacity: 1; }
.tour-top { position: absolute; top: 18px; left: 18px; display: flex; gap: 10px; align-items: center; z-index: 4; pointer-events: none; }
.tour-badge, .tour-title {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-weight: 750; font-size: .9rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.tour-badge { background: var(--teal); color: #fff; }
.tour-badge svg, .tour-hint svg { width: 17px; height: 17px; }
.tour-title:empty { display: none; }
.tour-hint {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 4; margin: 0; pointer-events: none;
  display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px;
  background: rgba(34,49,58,.72); color: #fff; font-weight: 700; font-size: .92rem; transition: opacity .4s;
}
.tour-hint.gone { opacity: 0; }
.tour-bar {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 4; display: flex; justify-content: space-between;
  align-items: flex-end; gap: 12px; pointer-events: none;
}
.tour-tabs, .tour-tools { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); pointer-events: auto; }
.tour-tab, .tour-tools button {
  border: 0; background: none; font: inherit; font-weight: 700; font-size: .9rem; color: var(--ink);
  padding: 9px 15px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.tour-tools button { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; }
.tour-tools svg { width: 18px; height: 18px; }
.tour-tab:hover, .tour-tools button:hover { background: var(--teal-tint); color: var(--teal-deep); }
.tour-tab.on { background: var(--teal); color: #fff; }
.tour-play span { display: grid; place-items: center; }
.tour-play .ic-play, .tour-paused .tour-play .ic-pause { display: none; }
.tour-paused .tour-play .ic-play { display: grid; }
.tour-paused .tour-tools .tour-play { background: var(--teal); color: #fff; }
.tour-nogl .tour-stage { background: url("assets/img/tour-aithousa.jpg") center/cover; }
.tour-nogl .tour-hint, .tour-nogl .tour-tools, .tour-nogl .tour-tabs { display: none; }

.tour-teaser-img { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.tour-teaser-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour-teaser-img:hover img { transform: scale(1.04); }
.tour-teaser-badge {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; gap: 8px; align-items: center;
  padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--teal-deep);
  font-weight: 800; font-size: 1.05rem; box-shadow: var(--shadow);
}
.tour-teaser-badge svg { width: 22px; height: 22px; }

@media (max-width: 620px) {
  .tour { height: 74vh; border-radius: 22px; }
  .tour-bar { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; }
  .tour-tabs { overflow-x: auto; justify-content: space-between; gap: 2px; padding: 4px; }
  .tour-tab { flex: 1 1 auto; padding: 8px 8px; font-size: .76rem; white-space: nowrap; }
  .tour-hint { white-space: nowrap; font-size: .82rem; padding: 9px 14px; }
  .tour-tools { align-self: flex-end; }
  .tour-top { top: 10px; left: 10px; }
  .tour-spot .lbl { font-size: .8rem; }
}

/* Degrees & certifications (biografiko) */
.creds-gallery { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.creds-gallery h2 { margin-top: 0; }
.creds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.cred { margin: 0; }
.cred a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.cred a:hover, .cred a:focus-visible { transform: translateY(-4px); }
.cred img { display: block; width: 100%; height: auto; aspect-ratio: 440 / 605; object-fit: cover; }
.prose .cred figcaption { margin-top: 12px; font-size: .9rem; line-height: 1.45; }
.cred figcaption strong { display: block; font-size: .98rem; }
.cred figcaption span { color: var(--muted); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 94vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(20, 38, 44, .78); backdrop-filter: blur(3px); }
dialog.lightbox img { display: block; max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: 12px; background: #fff; }
.lb-close { position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--teal-deep); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 720px) { .creds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .lb-close { top: 6px; right: 6px; } }
