/* ==========================================================================
   Δημήτρης Καρούσης – Φυσικοθεραπευτής
   styles.css

   1. Variables
   2. Reset / base
   3. Typography
   4. Layout utilities
   5. Components
   6. Sections
   7. Motion
   8. Media queries
   9. v2 – Photo styling & themed service cards
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
  /* Brand palette */
  --color-primary: #1F5F66;
  --color-primary-dark: #164449;
  --color-primary-light: #E3EFEF;
  --color-accent: #E07A5F;        /* CTA buttons + small highlights only */
  --color-accent-hover: #E8937C;
  --color-sand: #F7F2EA;
  --color-text: #1E2A2E;
  --color-text-muted: #5B6B70;
  --color-white: #FFFFFF;

  /* Supporting tones */
  --color-border: #D6E2E2;
  --color-input-border: #7D8E92;  /* ≥3:1 against white (WCAG 1.4.11) */
  --color-error: #B42318;
  --color-error-bg: #FDECEA;
  --color-footer: #163F44;
  --color-footer-text: #D5E4E5;

  /* Fonts: Greek-capable families, Noto Sans + system stack as fallback */
  --font-heading: "Commissioner", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1.0625rem, 1.03rem + 0.16vw, 1.125rem);   /* 17 → 18px */
  --fs-lead: clamp(1.125rem, 1.06rem + 0.35vw, 1.3125rem);
  --fs-h1: clamp(2.375rem, 1.7rem + 3.2vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --fs-h4: 1.125rem;
  --lh-body: 1.65;
  --lh-heading: 1.2;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(30, 42, 46, 0.05), 0 2px 10px rgba(30, 42, 46, 0.05);
  --shadow: 0 4px 12px rgba(30, 42, 46, 0.06), 0 14px 34px rgba(30, 42, 46, 0.08);
  --shadow-lg: 0 10px 24px rgba(30, 42, 46, 0.08), 0 24px 60px rgba(31, 95, 102, 0.14);

  /* Layout */
  --container: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --space-section: clamp(4rem, 2.8rem + 5vw, 7rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* Keep anchored headings clear of the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

main:focus {
  outline: none;
}

/* Hidden SVG sprite */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}


/* ==========================================================================
   3. TYPOGRAPHY
   Note: no text-transform: uppercase anywhere – Greek caps must not carry accents.
   ========================================================================== */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.75em;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

.eyebrow .icon {
  width: 1.15em;
  height: 1.15em;
}


/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-section);
}

.section--sand {
  background: var(--color-sand);
}

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 0.8rem;
  border-radius: 2px;
  background: var(--color-accent);
}

.section-head .section-title::after {
  margin-inline: auto;
}

.section-subtitle {
  margin: 0;
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* About section without photo: single readable column */
.about-solo {
  max-width: 52rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}


/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* ---------- Icons ---------- */
.icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.icon-box .icon {
  width: 28px;
  height: 28px;
}

.icon-box--sm {
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 12px;
}

.icon-box--sm .icon {
  width: 22px;
  height: 22px;
}

.icon-box--on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              box-shadow 0.2s ease, transform 0.2s ease;
}

/* Dark text on coral: 5:1 contrast (white on coral would fail AA) */
.btn--primary {
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 6px 18px rgba(224, 122, 95, 0.32);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 22px rgba(224, 122, 95, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--color-primary);
  background: transparent;
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--sm {
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

/* ---------- Badge & chips ---------- */
.badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-text);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
}

.chip--placeholder {
  border: 1.5px dashed var(--color-primary);
  background: var(--color-white);
  border-radius: var(--radius);
}

/* ---------- Media with graceful placeholder ---------- */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.75), transparent 55%),
    linear-gradient(135deg, var(--color-primary-light) 0%, #CFE3E3 55%, #B9D6D6 100%);
  box-shadow: var(--shadow);
}

.media--portrait  { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 4 / 3; }

.media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder icon + filename (visible only when the image is missing) */
.media::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -75%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5F66' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-10 9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.media::after {
  content: attr(data-placeholder);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: 0.9rem;
  color: var(--color-primary-dark);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
}

.media.is-missing img {
  display: none;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  border-color: #BCD6D6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card__title {
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--color-text-muted);
}

.card--featured {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-color: #BCD6D6;
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 122, 95, 0.10), transparent 40%),
    linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-white) 75%);
}

.card--featured .icon-box {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  color: var(--color-white);
}

.card--featured .icon-box .icon {
  width: 32px;
  height: 32px;
}

.card--featured .card__title {
  font-size: clamp(1.3125rem, 1.15rem + 0.8vw, 1.75rem);
  font-weight: 700;
}

.card--featured p {
  color: var(--color-text);
  font-size: var(--fs-base);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white); /* solid (no backdrop-filter: it would break the fixed mobile menu) */
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 18px rgba(30, 42, 46, 0.09);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.brand__tag {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Hamburger */
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  cursor: pointer;
}

.menu-toggle .icon--close,
.menu-toggle[aria-expanded="true"] .icon--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

/* Nav – mobile first: full-screen slide-in panel below the header */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.nav.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.3s var(--ease);
}

.nav__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.1875rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-primary);
}

.nav__link.is-active {
  font-weight: 600;
}

.nav__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Language switcher (EL / EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.lang-switch__link {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 0.35rem;
  border-radius: 8px;
  color: var(--color-text-muted);
  text-decoration: none;
}

.lang-switch__link:hover {
  color: var(--color-primary);
}

.lang-switch__link.is-current {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.lang-switch__sep {
  color: var(--color-border);
}

/* ---------- Floating action buttons (mobile) ---------- */
.fab {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.fab__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.15rem 0.65rem 0.95rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(30, 42, 46, 0.24);
}

.fab__btn .icon {
  width: 20px;
  height: 20px;
}

.fab__btn--call {
  background: var(--color-accent);
  color: var(--color-text);
}

.fab__btn--viber {
  background: var(--color-primary);
  color: var(--color-white);
}

body.menu-open .fab {
  display: none;
}

/* ---------- Divider (organic wave) ---------- */
.divider {
  margin-bottom: -1px;
  line-height: 0;
  background: var(--color-white);
}

.divider svg {
  width: 100%;
  height: clamp(32px, 5vw, 72px);
  fill: var(--color-primary);
}

.divider--flip {
  margin-top: -1px;
  margin-bottom: 0;
}

.divider--flip svg {
  transform: scaleY(-1);
}

/* ---------- FAQ accordion ---------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 50rem;
  margin-inline: auto;
}

.faq__item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq__item[open] {
  border-color: #BCD6D6;
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__question:focus-visible {
  outline-offset: -3px;
  border-radius: var(--radius);
}

/* +/− icon: the vertical bar rotates flat when open */
.faq__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary-light);
  transition: background-color 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--color-primary);
  transition: transform 0.3s var(--ease), background-color 0.25s ease;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon {
  background: var(--color-primary);
}

.faq__item[open] .faq__icon::before {
  transform: rotate(180deg);
  background: var(--color-white);
}

.faq__item[open] .faq__icon::after {
  transform: rotate(180deg);
  background: var(--color-white);
}

.faq__answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--color-text-muted);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 11px;
  width: 2px;
  background: linear-gradient(var(--color-primary), #BCD6D6);
}

.timeline__item {
  position: relative;
  padding: 0 0 2rem 3rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  top: 1.6rem;
  left: 0;
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 5px var(--color-sand);
}

.timeline__item:first-child .timeline__dot {
  background: var(--color-primary);
}

.timeline__card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline__year {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.timeline__title {
  margin-bottom: 0.35rem;
}

.timeline__meta {
  color: var(--color-text-muted);
}

/* ---------- Forms ---------- */
.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.form__note {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.field__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.req {
  color: var(--color-error);
}

.input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-input-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1rem;           /* ≥16px prevents iOS zoom */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:hover {
  border-color: var(--color-primary);
}

.input:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(31, 95, 102, 0.22);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.select {
  appearance: none;
  padding-right: 2.75rem;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5F66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat;
}

.field.has-error .input {
  border-color: var(--color-error);
}

.field__error {
  margin: 0.4rem 0 0;
  color: var(--color-error);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.field__error:empty {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.consent__box {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0.2rem 0 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.consent__label {
  font-size: var(--fs-sm);
  line-height: 1.55;
  cursor: pointer;
}

.field.has-error .consent__box {
  outline: 2px solid var(--color-error);
  outline-offset: 2px;
}

/* Honeypot – hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.form-status--success,
.form-status--error {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
}

.form-status--success {
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.form-status--error {
  border-left: 4px solid var(--color-error);
  background: var(--color-error-bg);
  color: #8A1C12;
}


/* ==========================================================================
   6. SECTIONS
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 55%, var(--color-sand) 100%);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero__title {
  margin-bottom: 0.35em;
  color: var(--color-primary);
}

.hero__subtitle {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
}

.hero__lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  font-size: var(--fs-lead);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
}

.trust__icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.trust__icon .icon {
  width: 18px;
  height: 18px;
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}

.hero__blob {
  position: absolute;
  inset: 8% -10% -6% 6%;
  z-index: 0;
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  background: var(--color-primary-light);
}

/* Small coral accent dot */
.hero__media::after {
  content: "";
  position: absolute;
  top: 4%;
  left: -4%;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(224, 122, 95, 0.18);
}

.hero__photo {
  position: relative;
  z-index: 1;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- About ---------- */
.callout {
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--color-white);
  font-weight: 500;
}

/* ---------- Home visits (teal) ---------- */
.section--teal {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: var(--color-white);
}

.section--teal .section-subtitle {
  color: var(--color-primary-light);
}

.section--teal :focus-visible {
  outline-color: var(--color-white);
}

.subheading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.benefits {
  display: grid;
  gap: 1.25rem;
}

.benefit {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
}

.benefit__title {
  margin-bottom: 0.5rem;
}

.benefit p {
  color: var(--color-primary-light);
}

.areas {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 20px 50px rgba(10, 30, 33, 0.25);
}

.section--teal .areas h3,
.section--teal .areas h4 {
  color: var(--color-text);
}

.section--teal .areas :focus-visible {
  outline-color: var(--color-primary);
}

.areas__title {
  margin-bottom: 1.5rem;
}

.areas__grid {
  display: grid;
  gap: 1.75rem;
}

.area__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.area__name .icon {
  color: var(--color-primary);
}

/* ---------- Approach ---------- */
.features {
  display: grid;
  gap: 1.25rem;
}

.feature {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-sand);
}

.feature__title {
  margin-bottom: 0.5rem;
  font-size: 1.1875rem;
}

.feature p {
  color: var(--color-text-muted);
}

/* ---------- Athlete ---------- */
.stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--color-primary-light);
}

.stat__number {
  flex: none;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2.3rem + 3vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.stat__label {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.35;
}

.aside-box {
  margin-top: 1.75rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--color-sand);
}

.aside-box__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.1875rem;
}

.aside-box__title .icon {
  color: var(--color-primary);
}

.aside-box p {
  color: var(--color-text-muted);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-sand);
}

.contact-item__label {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.contact-item__value {
  display: inline-block;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-item__links,
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 1rem;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}

.link-pill:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.social__link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  transition: background-color 0.2s ease;
}

.social__link:hover {
  background: var(--color-primary-dark);
}

.social__link .icon {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 3.5rem 2rem;
  background: var(--color-footer);
  color: var(--color-footer-text);
  font-size: var(--fs-sm);
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: var(--color-white);
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

.footer__name {
  margin-bottom: 0.35rem;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__title {
  margin-bottom: 0.85rem;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}

.footer__list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__bottom p {
  margin-bottom: 0.5rem;
}

.footer__disclaimer {
  max-width: 48rem;
  color: #B9CDCF;
  font-size: var(--fs-xs);
  line-height: 1.55;
}

/* ---------- Privacy page ---------- */
.legal {
  max-width: 48rem;
  margin-inline: auto;
}

.legal h1 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: var(--fs-h3);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal__updated {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.notice {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--color-sand);
  font-weight: 500;
}


/* ==========================================================================
   7. MOTION
   Fade-in on scroll (only when JS runs and motion is welcome).
   `translate` is used so it never clashes with hover `transform`s.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .js .reveal {
    opacity: 0;
    translate: 0 24px;
    transition-property: opacity, translate, transform, box-shadow, border-color;
    transition-duration: 0.7s, 0.7s, 0.25s, 0.25s, 0.25s;
    transition-timing-function: var(--ease);
    transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s, 0s, 0s;
  }

  .js .reveal.is-visible {
    opacity: 1;
    translate: none;
  }

  .cards > .reveal:nth-child(3n + 2),
  .features > .reveal:nth-child(3n + 2),
  .benefits > .reveal:nth-child(3n + 2) {
    --reveal-delay: 0.1s;
  }

  .cards > .reveal:nth-child(3n + 3),
  .features > .reveal:nth-child(3n + 3),
  .benefits > .reveal:nth-child(3n + 3) {
    --reveal-delay: 0.2s;
  }

  /* FAQ: answer eases in on every browser… */
  .faq__item[open] .faq__answer {
    animation: faq-open 0.35s var(--ease);
  }

  /* …and height animates smoothly where ::details-content is supported */
  @supports selector(::details-content) {
    :root {
      interpolate-size: allow-keywords;
    }

    .faq__item::details-content {
      block-size: 0;
      overflow-y: clip;
      transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
    }

    .faq__item[open]::details-content {
      block-size: auto;
    }
  }
}

@keyframes faq-open {
  from { opacity: 0; translate: 0 -6px; }
  to   { opacity: 1; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   8. MEDIA QUERIES (mobile first)
   ========================================================================== */

/* ≥ 480px */
@media (min-width: 30em) {
  .hero__media {
    max-width: 380px;
  }
}

/* ≥ 640px – tablet */
@media (min-width: 40em) {
  .cards,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--featured {
    grid-column: span 2;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field--full {
    grid-column: 1 / -1;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* ≥ 768px – hide mobile FABs */
@media (min-width: 48em) {
  .fab {
    display: none;
  }

  .benefits,
  .areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits > :last-child {
    grid-column: span 2;
  }
}

/* < 768px – leave room for the FABs at the page end */
@media (max-width: 47.99em) {
  .site-footer {
    padding-bottom: 9rem;
  }
}

/* ≥ 896px – two-column hero / splits */
@media (min-width: 56em) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero__media {
    max-width: 420px;
    margin-right: 0;
  }

  .split {
    grid-template-columns: 5fr 6fr;
  }

  .split--reverse {
    grid-template-columns: 6fr 5fr;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .split--sticky {
    align-items: start;
  }

  .split--sticky .split__media {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .contact {
    grid-template-columns: 5fr 7fr;
    gap: 2.5rem;
  }
}

/* ≥ 1024px – desktop grids */
@media (min-width: 64em) {
  .cards,
  .features,
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits > :last-child {
    grid-column: auto;
  }

  .card--featured {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-content: start;
  }

  .card--featured .badge,
  .card--featured .card__title,
  .card--featured p {
    grid-column: 2;
  }

  .card--featured .badge {
    justify-self: start;
  }

  .card--featured .icon-box {
    grid-row: 1 / span 3;
    grid-column: 1;
  }
}

/* ≥ 1280px – full desktop navigation (keep in sync with desktopQuery in main.js) */
@media (min-width: 80em) {
  .brand__name,
  .nav__actions .btn {
    white-space: nowrap;
  }

  :root {
    --header-h: 80px;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    overflow: visible;
    border: 0;
    background: none;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 0.1rem;
  }

  .nav__link {
    padding: 0.5rem 0.6rem;
    border: 0;
    font-size: var(--fs-sm);
    white-space: nowrap;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    right: 0.6rem;
    bottom: 0.2rem;
    left: 0.6rem;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
  }

  .nav__link:hover::after,
  .nav__link.is-active::after {
    transform: scaleX(1);
  }

  .nav__actions {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
}


/* ==========================================================================
   9. V2 – PHOTO STYLING & THEMED SERVICE CARDS
   ========================================================================== */
:root {
  /* Kids palette (warm, soft, playful) */
  --kids-cream: #FFF6E9;
  --kids-peach: #FFD9C2;
  --kids-coral: #F4845F;
  --kids-sun: #FFC94D;
  --kids-mint: #BFE8D6;
  --kids-sky: #BFDDF5;
  --kids-lilac: #E2D5F5;
  --kids-ink: #6B3A1F;

  /* Volleyball palette (sky, sand, ball yellow & blue) */
  --vb-sky: #EAF5FC;
  --vb-sand: #F4E4C1;
  --vb-yellow: #F5C518;
  --vb-blue: #1E4FA3;
  --vb-navy: #12324A;

  /* Motorcycle accent (matches the orange bike) */
  --moto-orange: #F28C28;
  --moto-asphalt: #1F2629;
}

/* ---------- Hero portrait ---------- */
.hero__photo {
  border: 6px solid var(--color-white);
}

.hero__photo img {
  object-position: 50% 30%;
  filter: saturate(1.06) contrast(1.04);
}

/* Dashed orbit ring behind the portrait */
.hero__ring {
  position: absolute;
  top: -5%;
  left: 50%;
  z-index: 0;
  width: 112%;
  aspect-ratio: 1;
  border: 2px dashed rgba(31, 95, 102, 0.28);
  border-radius: 50%;
  translate: -50% 0;
}

/* Floating glass-like badges */
.hero__badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(30, 42, 46, 0.16);
  font-size: var(--fs-xs);
  line-height: 1.25;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.hero__badge small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.hero__badge-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.hero__badge-icon .icon {
  width: 20px;
  height: 20px;
}

.hero__badge--bobath {
  top: 4%;
  right: -4%;
}

.hero__badge--bobath .hero__badge-icon {
  background: var(--kids-peach);
  color: var(--kids-ink);
}

.hero__badge--sport {
  bottom: 9%;
  left: -6%;
}

.hero__badge--sport .hero__badge-icon {
  background: var(--vb-yellow);
  color: var(--vb-navy);
}

/* ---------- Service cards: kids (paediatric) ---------- */
.card--kids {
  overflow: hidden;
  border: 2px solid #F6D7B8;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 201, 77, 0.35), transparent 28%),
    radial-gradient(circle at 4% 100%, rgba(191, 232, 214, 0.7), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(255, 217, 194, 0.8), transparent 38%),
    var(--kids-cream);
}

.card--kids:hover {
  border-color: var(--kids-coral);
}

.card--kids > :not(.kids-deco) {
  position: relative;
  z-index: 1;
}

.card--kids .badge {
  background: var(--kids-sun);
  color: var(--kids-ink);
  rotate: -3deg;
}

.card--kids .icon-box {
  border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  background: var(--kids-coral);
  color: var(--color-white);
  box-shadow: 0 8px 0 -2px rgba(244, 132, 95, 0.28);
  transition: rotate 0.4s var(--ease), scale 0.4s var(--ease);
}

.card--kids:hover .icon-box {
  rotate: -8deg;
  scale: 1.06;
}

.card--kids .card__title {
  padding-bottom: 0.55rem;
  font-family: "Comfortaa", var(--font-heading);
  color: #A4461F;
  letter-spacing: 0;
  /* crayon-style wavy underline */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M2 6c10-5 18-5 28 0s18 5 28 0 18-5 28 0 18 5 30 0' fill='none' stroke='%23FFC94D' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 120px 10px no-repeat;
}

.card--kids p {
  color: #4A3A30;
}

.kids-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.kids-tags li {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--kids-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.kids-tags li:nth-child(1) { background: var(--kids-mint); }
.kids-tags li:nth-child(2) { background: var(--kids-sky); }
.kids-tags li:nth-child(3) { background: var(--kids-lilac); }

/* Decorations */
.kids-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.kids-deco svg {
  position: absolute;
}

.kids-deco__sun {
  top: 14px;
  right: 14px;
  width: 58px;
  fill: var(--kids-sun);
  stroke: var(--kids-sun);
}

.kids-deco__blocks {
  display: none;
  right: 22px;
  bottom: 20px;
  width: 84px;
}

.kids-deco__blocks .b1 { fill: var(--kids-coral); }
.kids-deco__blocks .b2 { fill: #7CC8A8; }
.kids-deco__blocks .b3 { fill: #7FB4E3; }

.kids-deco__star {
  width: 18px;
  fill: var(--kids-coral);
  opacity: 0.8;
}

.kids-deco__star--1 { top: 86px; right: 26px; }
.kids-deco__star--2 { top: 26px; right: 92px; width: 13px; fill: #7FB4E3; }

.kids-deco__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.kids-deco__dot--1 { top: 58%; right: 18px; background: #7CC8A8; }
.kids-deco__dot--2 { bottom: 18px; left: 46%; width: 8px; height: 8px; background: var(--kids-sun); }
.kids-deco__dot--3 { top: 18px; left: 52%; width: 7px; height: 7px; background: #C9B2EE; }

/* ---------- Service cards: sport (beach volleyball) ---------- */
.card--sport {
  overflow: hidden;
  border-color: #CFE0EE;
  background: linear-gradient(180deg, var(--vb-sky) 0%, #F7FAFC 58%, var(--vb-sand) 100%);
}

/* two-colour ball stripe on top */
.card--sport::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--vb-blue) 0 50%, var(--vb-yellow) 50% 100%);
}

.card--sport:hover {
  border-color: var(--vb-blue);
}

.card--sport > :not(.sport-deco) {
  position: relative;
  z-index: 1;
}

.sport-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* the net: yellow top tape + mesh fading out */
.sport-deco__net {
  position: absolute;
  top: 26px;
  right: -30px;
  width: 170px;
  height: 110px;
  border-top: 7px solid var(--vb-yellow);
  background:
    repeating-linear-gradient(0deg, rgba(18, 50, 74, 0.2) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(18, 50, 74, 0.2) 0 1px, transparent 1px 13px);
  rotate: -8deg;
  -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 85%);
          mask-image: linear-gradient(200deg, #000 30%, transparent 85%);
}

.sport-deco__ball {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 50px;
  filter: drop-shadow(0 6px 6px rgba(18, 50, 74, 0.22));
  transition: translate 0.5s var(--ease), rotate 0.6s var(--ease);
}

.card--sport:hover .sport-deco__ball {
  translate: 0 -6px;
  rotate: 160deg;
}

.sport-kicker {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.25rem 0.8rem;
  border-radius: 6px;
  background: var(--vb-blue);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  transform: skewX(-10deg);
}

.card--sport .icon-box {
  display: grid;
  border-radius: 50%;
  background: var(--vb-navy);
  color: var(--vb-yellow);
}

.card--sport .card__title {
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--vb-navy);
}

.card--sport p {
  color: #3F5160;
}

.sport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.sport-tags li {
  padding: 0.25rem 0.75rem;
  border: 1.5px solid var(--vb-navy);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--vb-navy);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* ---------- Service cards: massage / pain / neuro (subtler themes) ---------- */
.card--massage {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30c50-20 100-20 150 0s100 20 150 0 75-15 100-8' fill='none' stroke='%23B9CFC3' stroke-width='2'/%3E%3Cpath d='M0 45c50-20 100-20 150 0s100 20 150 0 75-15 100-8' fill='none' stroke='%23D3E2D9' stroke-width='2'/%3E%3C/svg%3E") left bottom 10px / 100% 60px no-repeat,
    linear-gradient(160deg, #F3F8F4 0%, var(--color-white) 70%);
}

.card--massage .icon-box {
  border-radius: 50%;
  background: #DCEBE2;
  color: #2F6B4F;
}

.card--pain {
  background:
    /* stacked vertebrae in the corner */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 120'%3E%3Cg fill='%23DDE9F3'%3E%3Crect x='8' y='2' width='24' height='14' rx='5'/%3E%3Crect x='7' y='22' width='26' height='15' rx='5'/%3E%3Crect x='6' y='43' width='28' height='16' rx='5'/%3E%3Crect x='5' y='65' width='30' height='17' rx='6'/%3E%3Crect x='4' y='88' width='32' height='18' rx='6'/%3E%3C/g%3E%3Cpath d='M20 0v120' stroke='%23C3D7E8' stroke-width='1.5' stroke-dasharray='3 4'/%3E%3C/svg%3E") right 22px top 18px / 34px auto no-repeat,
    linear-gradient(160deg, #F1F6FA 0%, var(--color-white) 70%);
}

.card--pain .icon-box {
  background: #DDE9F3;
  color: #245A83;
}

.card--neuro {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cg fill='none' stroke='%23C9C3EA' stroke-width='1.2'%3E%3Cpath d='M20 20 60 12 98 34 70 58 30 52z M60 12 70 58 M30 52 20 20'/%3E%3C/g%3E%3Cg fill='%23A99FE0'%3E%3Ccircle cx='20' cy='20' r='3.5'/%3E%3Ccircle cx='60' cy='12' r='3'/%3E%3Ccircle cx='98' cy='34' r='4'/%3E%3Ccircle cx='70' cy='58' r='3.5'/%3E%3Ccircle cx='30' cy='52' r='3'/%3E%3C/g%3E%3C/svg%3E") right 14px top 14px / 110px auto no-repeat,
    linear-gradient(160deg, #F4F2FC 0%, var(--color-white) 70%);
}

.card--neuro .icon-box {
  background: #E6E1F8;
  color: #4B3E9A;
}

/* ---------- Athlete section (beach vibe) ---------- */
.section--beach {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 45%, #FBF5E9 100%);
}

.section--beach .stat {
  border-left-color: var(--vb-yellow);
  background: var(--vb-sky);
}

.section--beach .stat__number {
  color: var(--vb-blue);
}

.volley-gallery {
  position: relative;
  padding: 0 20% 16% 0;
}

/* net mesh peeking out behind the photos */
.volley-gallery::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 0;
  width: 55%;
  height: 50%;
  border-top: 8px solid var(--vb-yellow);
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, rgba(18, 50, 74, 0.18) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, rgba(18, 50, 74, 0.18) 0 1px, transparent 1px 14px);
}

.volley-gallery .media {
  aspect-ratio: 3 / 4;
}

.volley-gallery__main {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.volley-gallery__side {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 46%;
  border: 6px solid var(--color-white);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(18, 50, 74, 0.25);
  rotate: 4deg;
  transition: rotate 0.4s var(--ease), scale 0.4s var(--ease);
}

.volley-gallery:hover .volley-gallery__side {
  rotate: 0deg;
  scale: 1.03;
}

.volley-gallery__main img,
.volley-gallery__side img {
  filter: saturate(1.08) contrast(1.03);
}

.volley-gallery__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem 0.4rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--vb-yellow);
  color: var(--vb-navy);
  font-size: var(--fs-sm);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(18, 50, 74, 0.2);
}

.volley-gallery__tag .icon {
  width: 20px;
  height: 20px;
}

/* ---------- "Πέρα από τη θεραπεία" (motorcycle) ---------- */
.aside-box--photo {
  display: grid;
  gap: 1.25rem;
  overflow: hidden;
  padding: 1.25rem;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px),
    var(--moto-asphalt);
  color: #D3DBDD;
  box-shadow: var(--shadow);
}

.aside-box--photo .aside-box__title {
  color: var(--color-white);
}

.aside-box--photo .aside-box__title .icon {
  color: var(--moto-orange);
}

.aside-box--photo p {
  color: #C9D3D5;
}

.aside-box__photo {
  aspect-ratio: 4 / 3;
  border: 5px solid var(--color-white);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  rotate: -2deg;
  transition: rotate 0.4s var(--ease);
}

.aside-box--photo:hover .aside-box__photo {
  rotate: 0deg;
}

.aside-box__photo img {
  object-position: 50% 38%;
  filter: saturate(1.1) contrast(1.05);
}

.hobbies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hobbies li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem 0.3rem 0.6rem;
  border: 1.5px solid rgba(242, 140, 40, 0.7);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.hobbies .icon {
  width: 18px;
  height: 18px;
  color: var(--moto-orange);
}

.aside-box--photo :focus-visible {
  outline-color: var(--color-white);
}

/* ---------- v2 motion (gentle, opt-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__ring {
    animation: v2-spin 60s linear infinite;
  }

  .hero__badge {
    animation: v2-float 6s ease-in-out infinite;
  }

  .hero__badge--sport {
    animation-delay: -3s;
  }

  .kids-deco__sun {
    animation: v2-spin 40s linear infinite;
  }

  .kids-deco__star {
    animation: v2-twinkle 3.5s ease-in-out infinite;
  }

  .kids-deco__star--2 {
    animation-delay: -1.7s;
  }
}

@keyframes v2-spin {
  to { rotate: 360deg; }
}

@keyframes v2-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

@keyframes v2-twinkle {
  0%, 100% { scale: 1; opacity: 0.8; }
  50%      { scale: 1.25; opacity: 1; }
}

/* ---------- v2 responsive ---------- */
@media (max-width: 29.99em) {
  .hero__badge {
    padding: 0.4rem 0.75rem 0.4rem 0.4rem;
  }

  .hero__badge-icon {
    width: 30px;
    height: 30px;
  }

  .hero__badge--bobath { right: -2%; }
  .hero__badge--sport  { left: -2%; }
}

@media (min-width: 30em) {
  .aside-box--photo {
    grid-template-columns: minmax(130px, 38%) 1fr;
    align-items: center;
    padding: 1.5rem;
  }

  .aside-box__photo {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 40em) {
  .kids-deco__blocks {
    display: block;
  }

  .card--kids {
    padding-right: 8.5rem;
  }
}

/* The content column narrows in the two-column athlete layout */
@media (min-width: 56em) and (max-width: 71.99em) {
  .aside-box--photo {
    grid-template-columns: 1fr;
  }

  .aside-box__photo {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 64em) {
  .card--featured .kids-tags {
    grid-column: 2;
  }
}

/* ---------- Supporter logos (white strip above the footer) ---------- */
.logos {
  padding: 2.5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.logos__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3.5rem;
}

.logos img {
  display: block;
  height: auto;
}

.logos__erasmus {
  width: min(100%, 300px);
}

.logos__inedivim {
  width: 96px;
}
