/* Κέντρο Ποδολογίας Έλενα Τάτση — landing page. Brand: navy and blue of the logo, turquoise accents. */
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400 700;
  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;
}

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400 700;
  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;
}

:root {
  --navy: #0b2a66;
  --blue: #0f3f9c;
  --blue-strong: #0a2f78;
  --turquoise: #0aa0cf;
  --turquoise-soft: #e6f6fb;
  --ink: #16233b;
  --muted: #55627a;
  --line: #dde5ee;
  --bg: #ffffff;
  --tint: #f3f8fc;
  --radius: 14px;
  --font: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 700;
}

h2 {
  font-size: clamp(26px, 4.4vw, 34px);
  font-weight: 700;
}

h3 {
  font-size: 19px;
  font-weight: 600;
}

p {
  margin: 0 0 14px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow {
  max-width: 760px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 8px;
  z-index: 20;
  padding: 8px 12px;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-lg {
  min-height: 54px;
  padding: 12px 26px;
  font-size: 17px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-strong);
}

.btn-ghost {
  border-color: var(--blue);
  color: var(--blue);
  background: #fff;
}

.btn-ghost:hover {
  background: var(--turquoise-soft);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand img {
  width: 150px;
  height: auto;
}

.top-nav {
  display: none;
  gap: 24px;
  margin-left: auto;
}

.top-nav a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--blue);
}

.top-cta {
  margin-left: auto;
  min-height: 40px;
  padding: 8px 18px;
}

@media (min-width: 900px) {
  .top-nav {
    display: flex;
  }

  .top-cta {
    margin-left: 8px;
  }
}

/* Hero */
.hero {
  padding: 32px 0 8px;
  background: linear-gradient(180deg, var(--turquoise-soft) 0%, #fff 78%);
}

.hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--turquoise);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: 19px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.hero-photo {
  margin: 0;
  justify-self: center;
  max-width: 440px;
}

.hero-photo img {
  border-radius: 28px 28px 28px 120px;
  box-shadow: 0 18px 40px rgba(11, 42, 102, 0.18);
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.creds li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0 16px;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-tint {
  background: var(--tint);
}

.section-lead {
  max-width: 640px;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

.card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--turquoise);
  border-radius: var(--radius);
  background: #fff;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.card-accent {
  border-top-color: var(--blue);
  background: var(--turquoise-soft);
}

.methods {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 16px 18px 16px 64px;
  border-radius: var(--radius);
  background: #fff;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 420px 1fr;
    gap: 48px;
  }
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.gallery picture {
  display: block;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.gallery .g-wide {
  grid-column: span 2;
}

.gallery .g-wide img {
  aspect-ratio: 16 / 10;
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  /* Two columns wide, one square tall. */
  .gallery .g-wide img {
    aspect-ratio: 2.04;
  }
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 16px 32px 16px 0;
  position: relative;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 24px;
  font-weight: 400;
  color: var(--turquoise);
}

details[open] summary::after {
  content: '–';
}

details p {
  color: var(--muted);
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark a:not(.btn) {
  color: #fff;
}

.contact {
  display: grid;
  gap: 32px;
}

.contact address {
  font-style: normal;
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hours {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
  font-weight: 400;
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.foot {
  padding: 24px 0 96px;
  font-size: 14px;
  color: var(--muted);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot a {
  color: var(--muted);
}

/* Mobile: booking and call always one tap away. */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(11, 42, 102, 0.08);
}

@media (min-width: 900px) {
  .mobile-cta {
    display: none;
  }

  .foot {
    padding-bottom: 32px;
  }
}

/* Simple pages (privacy, 404) */
.page {
  padding: 40px 0 64px;
}

.page h2 {
  margin-top: 32px;
  font-size: 22px;
}

.page ul {
  padding-left: 22px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
