
@font-face {
  font-family: "Quicksand Custom";
  src: url("../fonts/Quicksand_Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "A DAY WITHOUT SUN";
  src: url("../fonts/A DAY WITHOUT SUN 400.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =====================================================
   STYLE.CSS
   =====================================================

   ΓΡΗΓΟΡΕΣ ΑΛΛΑΓΕΣ ΧΡΩΜΑΤΩΝ:
   Τα βασικά χρώματα έρχονται από site-config.js.
   Αν θες χειροκίνητη αλλαγή χωρίς JS, αλλάζεις τα παρακάτω defaults.

   ΓΡΗΓΟΡΕΣ ΑΛΛΑΓΕΣ LOGO SIZE:
   --logo-width-desktop: μέγεθος logo σε desktop
   --logo-width-mobile: μέγεθος logo σε mobile
===================================================== */

:root {
  --color-primary: #6FAF9B;
  --color-primary-dark: #437D6D;
  --color-secondary: #F4E8D8;
  --color-accent: #F0B86E;
  --color-background: #FFFDF8;
  --color-surface: #FFFFFF;
  --color-soft-surface: #F8F2EA;
  --color-text: #263238;
  --color-muted-text: #66736F;
  --color-border: #E7DDD0;
  --color-menu-background: #FFFFFF;
  --color-footer-background: #263238;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container-width: 1120px;
  --section-padding: 88px;
  --radius-large: 28px;
  --radius-medium: 18px;
  --shadow-soft: 0 18px 45px rgba(38, 50, 56, 0.10);

  /* ==========================================
     LOGO SIZES
     Change only these values to resize logos.
  ========================================== */
  --header-logo-width-desktop: 190px;
  --header-logo-width-mobile: 145px;
  --hero-logo-width-desktop: 300px;
  --hero-logo-width-mobile: 210px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.is-hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--color-primary-dark);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}
.section { padding: var(--section-padding) 0; }
.soft-section { background: var(--color-soft-surface); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(16px, 4vw, 42px);
  /* Main header uses the Makes Sense brand color */
  background: var(--color-primary);
  border-bottom: 1px solid color-mix(in srgb, var(--color-primary-dark) 25%, transparent);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand img {
  width: var(--header-logo-width-desktop);
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

/* Homepage / Hero logo */
.hero-logo {
  width: var(--hero-logo-width-desktop);
  max-width: 100%;
  height: auto;
  object-fit: contain;

  /* More space between the logo and the Hero title */
  margin: -70px auto 80px;
}
.brand span {
  display: grid;
  gap: 2px;
  color: var(--color-primary-dark);
}
.brand small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted-text);
  letter-spacing: 0;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(38, 50, 56, 0.08);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-menu {
  position: fixed;
  right: clamp(16px, 4vw, 42px);
  top: 86px;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  background: var(--color-menu-background);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: none;
}
.site-menu.is-open { display: grid; gap: 8px; }
.site-menu a,
.submenu-toggle {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
}
.site-menu a:hover,
.submenu-toggle:hover { background: var(--color-soft-surface); }
.submenu-toggle { display: flex; justify-content: space-between; align-items: center; }
.submenu { display: none; padding-left: 10px; margin-top: 4px; }
.submenu.is-open { display: grid; gap: 4px; }

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--color-primary) 25%, transparent), transparent 34%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 30%),
    var(--color-background);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}

.hero-copy {
  width: min(100%, 820px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 { font-size: clamp(2.35rem, 6vw, 5rem); max-width: 850px; }

/* =====================================================
   HOMEPAGE HERO TITLE
   Λογοθεραπεία
        &
   Εργοθεραπεία

   Colors use the global theme variables.
===================================================== */
.hero-title {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.2vw, 4.9rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-title-line {
  display: block;
}

.hero-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
  margin: 0.12em 0 0.08em;
  color: var(--color-primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72em;
  line-height: 1;
}

.hero-title-divider::before,
.hero-title-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.8;
}

.hero-title-divider > span {
  flex: 0 0 auto;
  min-width: 1em;
  text-align: center;
}

h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.12rem; }
.hero-text {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--color-muted-text);
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: var(--color-text); box-shadow: 0 14px 28px color-mix(in srgb, var(--color-primary) 35%, transparent); }
.btn-secondary { background: var(--color-secondary); color: var(--color-text); }

.hero-image-card,
.therapist-card,
.service-block,
.gallery-card,
.contact-card,
.address-card,
.profile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

/* Service outer cards use the same background as the homepage */
.service-block {
  background: var(--color-background);
}
.hero-image-card { border-radius: var(--radius-large); padding: 14px; transform: rotate(1.5deg); }
.hero-image-card img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* =====================================================
   MAKES SENSE PHILOSOPHY
   Vertical editorial layout:
   title first, content below.
===================================================== */
.philosophy-section {
  background: var(--color-soft-surface);
}

.philosophy-container {
  display: block;
  max-width: var(--container-width);
}

.philosophy-heading {
  max-width: 920px;
  margin: 0 0 38px;
}

.philosophy-heading .eyebrow {
  margin-bottom: 14px;
}

.philosophy-heading h2 {
  max-width: 920px;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.08;
}

.philosophy-content {
  max-width: 900px;
}

.philosophy-intro {
  margin: 0 0 30px;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.42;
  color: var(--color-text);
}

.philosophy-paragraphs {
  display: grid;
  gap: 22px;
}

.philosophy-paragraphs p {
  margin: 0;
  max-width: 860px;
  color: var(--color-muted-text);
  font-size: 1.05rem;
  line-height: 1.85;
}

.philosophy-closing {
  margin: 36px 0 0;
  max-width: 820px;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.5;
  color: var(--color-primary-dark);
}

.philosophy-closing::before {
  display: none;
}

@media (max-width: 860px) {
  .philosophy-heading,
  .philosophy-content,
  .philosophy-intro,
  .philosophy-paragraphs p,
  .philosophy-closing {
    max-width: 100%;
  }

  .philosophy-heading {
    margin-bottom: 28px;
  }
}

/* Existing section heading */
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p:not(.eyebrow) { color: var(--color-muted-text); margin: 14px 0 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-section-card p,
.gallery-card p,
.contact-card p,
.address-card p { color: var(--color-muted-text); }

.therapists-list { display: grid; gap: 28px; }
.therapist-card {
  border-radius: var(--radius-large);
  padding: clamp(18px, 4vw, 32px);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
}
.therapist-card-clickable { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.therapist-card-clickable:hover { transform: translateY(-3px); }
.therapist-image-wrap { border-radius: 24px; overflow: hidden; background: var(--color-soft-surface); text-decoration: none; }
.therapist-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.therapist-content p:last-of-type { color: var(--color-muted-text); }
.profile-btn { margin-top: 10px; }
.therapist-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--color-border), transparent); }

.service-block {
  border-radius: var(--radius-large);
  padding: clamp(22px, 4vw, 36px);
  margin-top: 22px;
  scroll-margin-top: 110px;
}
.service-intro { color: var(--color-muted-text); font-size: 1.08rem; margin: 14px 0 22px; }
.service-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-section-card { border-radius: 18px; padding: 20px; background: var(--color-soft-surface); border: 1px solid var(--color-border); }

.carousel-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(38, 50, 56, 0.08);
}
.gallery-carousel {
  overflow: hidden;
  border-radius: var(--radius-large);
}
.gallery-track {
  display: flex;
  transition: transform 0.35s ease;
}
.gallery-slide {
  flex: 0 0 100%;
  padding: 4px;
}
.gallery-card {
  width: 100%;
  border-radius: var(--radius-large);
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: zoom-in;
  color: inherit;
}
.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-card-body { padding: 22px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: color-mix(in srgb, var(--color-primary) 35%, white);
  cursor: pointer;
}
.gallery-dot.is-active { width: 28px; background: var(--color-primary-dark); }

.contact-card,
.address-card { border-radius: var(--radius-medium); padding: 24px; }
.contact-card { display: grid; align-content: start; gap: 10px; }
.contact-link,
.address-card a {
  display: inline-flex;
  width: fit-content;
  color: var(--color-primary-dark);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
}
.contact-link:hover,
.address-card a:hover { color: var(--color-text); }
.address-card { margin-top: 18px; }

.profile-page { min-height: calc(100vh - 78px); background: var(--color-background); }
.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
  font-weight: 800;
  text-decoration: none;
}
.profile-card { border-radius: var(--radius-large); padding: clamp(20px, 4vw, 42px); }
.profile-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(24px, 5vw, 58px); align-items: start; }
.profile-image-wrap { border-radius: 28px; overflow: hidden; background: var(--color-soft-surface); }
.profile-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.profile-copy p:not(.eyebrow) { color: var(--color-muted-text); font-size: 1.05rem; }
.profile-contact { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }

.site-footer {
  padding: 28px 0;
  background: var(--color-footer-background);
  color: white;
}
.footer-content {
  display: flex;
  justify-content: center;
  text-align: center;
}
.footer-content p { margin: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.lightbox-close {
  position: absolute;
  right: 24px;
  top: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: white;
  color: #111;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  color: white;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 860px) {
  :root { --section-padding: 64px; }
  .brand img { width: var(--header-logo-width-mobile); }
  .hero-logo { width: var(--hero-logo-width-mobile); }
  .brand small { display: none; }
  .therapist-card,
  .service-sections,
  .profile-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 34px; }
  .hero-image-card { transform: none; }
  .therapist-card { padding: 18px; }
  .therapist-image-wrap,
  .profile-image-wrap { max-width: 320px; }
  .carousel-heading { align-items: flex-start; flex-direction: column; }
  .gallery-card img { aspect-ratio: 4 / 3; }
  .lightbox-caption { font-size: 0.9rem; }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  .site-header { min-height: 70px; }
  .site-menu { top: 78px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* =====================================================
   SECTION TITLE TYPOGRAPHY
   Closest web-safe/free approximation to the logo's
   outlined condensed lettering.

   Does NOT affect the main Hero title.
===================================================== */
.section-heading h2,
.philosophy-heading h2 {
  font-family: "A DAY WITHOUT SUN", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}



/* =====================================================
   PHILOSOPHY SECTION TEXT COLORS
   Cream text on brand background.
   Main section title stays dark.
===================================================== */

.philosophy-section .philosophy-heading .eyebrow {
  color: var(--color-secondary);
}

.philosophy-section .philosophy-heading h2 {
  color: var(--color-text);
}

.philosophy-section .philosophy-intro,
.philosophy-section .philosophy-paragraphs p,
.philosophy-section .philosophy-closing {
  color: var(--color-secondary);
}


/* =====================================================
   SERVICE INNER CARD TEXT COLORS
   Body text = cream
   Inner card titles = dark
===================================================== */

.service-section-card h4 {
  color: var(--color-text);
}

.service-section-card p {
  color: var(--color-secondary);
}


/* =====================================================
   SERVICES SECTION EYEBROW
   "ΥΠΗΡΕΣΙΕΣ" = cream on brand background
===================================================== */

#services .eyebrow {
  color: var(--color-secondary);
}


/* =====================================================
   DYNAMIC CONTACT SECTION COLORS

   showSpaceGallery = false
   -> Contact becomes cream

   showSpaceGallery = true
   -> Contact becomes brand green
===================================================== */

/* Space is hidden -> Contact becomes cream */
#contact.contact-after-hidden-space {
  background: var(--color-background);
}

/* Space is visible -> Contact stays brand green */
#contact.contact-after-visible-space {
  background: var(--color-soft-surface);
}

/* Small "ΕΠΙΚΟΙΝΩΝΙΑ" label on green background */
#contact.contact-after-visible-space .section-heading .eyebrow {
  color: var(--color-secondary);
}

/* On cream background the label uses dark/brand text */
#contact.contact-after-hidden-space .section-heading .eyebrow {
  color: var(--color-primary-dark);
}


/* =====================================================
   MAKES SENSE - HEADING FONT TEST
   Ubuntu Condensed is used only for section headings.
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Condensed&display=swap');



/* =====================================================
   THERAPIST CARDS
   Desktop: two vertical cards side by side.
   Mobile: one card per row.
===================================================== */

.therapists-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.therapist-card {
  border-radius: var(--radius-large);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  height: 100%;
}

.therapist-image-wrap {
  display: block;
  width: 100%;
  max-width: none;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-soft-surface);
  text-decoration: none;
}

.therapist-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.therapist-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.therapist-content .eyebrow {
  margin-bottom: 10px;
}

.therapist-content h3 {
  margin-bottom: 12px;
}

.therapist-content p:last-of-type {
  color: var(--color-muted-text);
  margin-bottom: 18px;
}

.therapist-content .profile-btn {
  margin-top: auto;
}

.therapist-divider {
  display: none;
}

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

  .therapist-card {
    padding: 18px;
  }

  .therapist-image-wrap {
    max-width: none;
  }
}



/* =====================================================
   HERO INSTAGRAM
===================================================== */

.hero-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-primary);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.hero-social-link svg {
  width: 100%;
  height: 100%;
  color: currentColor;
}

.hero-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-instagram .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.hero-facebook svg {
  fill: currentColor;
  stroke: none;
}

.hero-social-link:hover {
  color: var(--color-primary-dark);
  transform: translateY(-2px) scale(1.05);
}


/* =====================================================
   MOBILE RESPONSIVE FIXES
   Desktop styling remains unchanged.
===================================================== */

@media (max-width: 860px) {

  /* Give the Hero proper breathing room below the sticky header */
  .hero {
    min-height: auto;
    padding-top: 55px;
    padding-bottom: 55px;
  }

  /* Hero logo: keep it fully visible and remove desktop negative margin */
  .hero-logo {
    width: min(var(--hero-logo-width-mobile), 78vw);
    max-width: 320px;
    height: auto;
    margin: 0 auto 32px;
  }

  /* Main Hero title */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.08;
  }

  /* Section titles */
  .section-heading h2,
  .philosophy-heading h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.1;
  }
}

@media (max-width: 520px) {

  .hero {
    padding-top: 38px;
    padding-bottom: 46px;
  }

  /* Smaller logo specifically for phones */
  .hero-logo {
    width: 72vw;
    max-width: 280px;
    margin: 0 auto 26px;
  }

  /* Correct phone-sized Hero typography */
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-title-line {
    line-height: 1.08;
  }

  /* Correct phone-sized section headings */
  .section-heading h2,
  .philosophy-heading h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    line-height: 1.12;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  /* Keep buttons readable without oversized text */
  .btn {
    font-size: 0.95rem;
  }
}


/* =====================================================
   FINAL BRAND TYPOGRAPHY

   Hero H1:
   Use the real A DAY WITHOUT SUN font.

   Mobile:
   Increase section heading sizes because this font
   appears visually smaller than the previous font.
===================================================== */

/* Main Hero H1 */
.hero-title {
  font-family: "A DAY WITHOUT SUN", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}


/* Tablet / mobile section headings */
@media (max-width: 860px) {

  .hero-title {
    font-size: clamp(2.35rem, 9vw, 3.4rem);
    line-height: 1.05;
  }

  .section-heading h2,
  .philosophy-heading h2 {
    font-size: clamp(2.2rem, 8.5vw, 3rem);
    line-height: 1.08;
  }
}


/* Phones */
@media (max-width: 520px) {

  .hero-title {
    font-size: clamp(2.15rem, 10vw, 2.85rem);
    line-height: 1.05;
  }

  .section-heading h2,
  .philosophy-heading h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.08;
  }
}


/* =====================================================
   MOBILE BRAND TYPOGRAPHY - FINAL OVERRIDE
   A DAY WITHOUT SUN is a very narrow typeface,
   therefore headings need a larger visual size on phones.
===================================================== */

@media (max-width: 520px) {

  /* Main Hero title */
  .hero-title {
    font-family: "A DAY WITHOUT SUN", sans-serif;
    font-size: clamp(3.4rem, 15vw, 4.4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.015em;
  }

  .hero-title-line {
    line-height: 1.05;
  }

  /* Main section titles */
  .section-heading h2,
  .philosophy-heading h2 {
    font-family: "A DAY WITHOUT SUN", sans-serif;
    font-size: clamp(3rem, 13vw, 3.8rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.015em;
  }

}


/* =====================================================
   MOBILE BODY TEXT
   Smaller readable paragraph text on phones.
   Headings, eyebrows/categories and buttons are untouched.
===================================================== */

@media (max-width: 520px) {

  /* Hero description */
  .hero-text {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  /* Text directly below section titles */
  .section-heading p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  /* Philosophy main introductory sentence */
  .philosophy-intro {
    font-size: 1.22rem;
    line-height: 1.5;
  }

  /* Philosophy normal paragraphs */
  .philosophy-paragraphs p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  /* Philosophy closing sentence */
  .philosophy-closing {
    font-size: 1.15rem;
    line-height: 1.55;
  }

  /* Service introductory text */
  .service-intro {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  /* Text inside green service cards */
  .service-section-card p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  /* Therapist short descriptions */
  .therapist-content p:last-of-type {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  /* Profile biography text */
  .profile-copy p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.7;
  }

}


/* =====================================================
   MOBILE SECONDARY TYPOGRAPHY
   Natural phone-sized text for cards and contact details.
   Main section headings remain unchanged.
===================================================== */

@media (max-width: 520px) {

  /* Therapist names */
  .therapist-content h3 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  /* Therapist specialty labels */
  .therapist-content .eyebrow,
  .contact-card .eyebrow {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  /* Contact card names */
  .contact-card h3 {
    font-size: 1.45rem;
    line-height: 1.2;
  }

  /* Contact links: phone / email */
  .contact-link {
    font-size: 1rem;
    line-height: 1.45;
  }

  /* E-mail and address card titles */
  .address-card h3,
  #contact .contact-card + .address-card h3 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  /* Address / business e-mail links */
  #businessEmailLink,
  #addressLink {
    font-size: 1rem;
    line-height: 1.45;
  }

  /* Service block titles */
  .service-block > h3 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  /* Inner service card titles */
  .service-section-card h4 {
    font-size: 1.08rem;
    line-height: 1.3;
  }

  /* Buttons inside therapist cards */
  .profile-btn {
    font-size: 0.95rem;
  }

  /* Profile page therapist name */
  .profile-copy h1,
  .profile-copy h2,
  .profile-copy h3 {
    font-size: 1.7rem;
    line-height: 1.15;
  }

}


/* =====================================================
   MOBILE CARD TYPOGRAPHY - FINAL
   Normalize therapist/contact/service card content.
   Main section headings are intentionally excluded.
===================================================== */

@media (max-width: 520px) {

  /* Therapist cards */
  .therapist-card .therapist-content h3 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
  }

  .therapist-card .therapist-content .eyebrow {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  .therapist-card .therapist-content p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .therapist-card .profile-btn {
    font-size: 0.9rem !important;
  }


  /* Contact cards - labels and normal text */
  #contact .contact-card p,
  #contact .address-card p {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  #contact .contact-card h3,
  #contact .address-card h3,
  #contact .contact-card strong,
  #contact .address-card strong {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
  }


  /* Phone, e-mail and address */
  #contact .contact-link,
  #contact .address-card a,
  #contact #businessEmailLink,
  #contact #addressLink {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }


  /* Service card titles */
  #services .service-block > h3 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
  }

  #services .service-section-card h4 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
  }

}


/* =====================================================
   CARD TYPOGRAPHY - DESKTOP / TABLET
   Balanced typography for therapist, contact and service cards.
   Main section headings are not affected.
===================================================== */

/* Therapist cards */
.therapist-card .therapist-content h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.therapist-card .therapist-content .eyebrow {
  font-size: 0.72rem;
  line-height: 1.3;
}

.therapist-card .therapist-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Contact cards */
#contact .contact-card h3,
#contact .address-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

#contact .contact-card .eyebrow {
  font-size: 0.72rem;
  line-height: 1.3;
}

#contact .contact-link,
#contact .address-card a,
#contact #businessEmailLink,
#contact #addressLink {
  font-size: 0.92rem;
  line-height: 1.4;
}


/* Service cards */
#services .service-block > h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}

#services .service-section-card h4 {
  font-size: 1.05rem;
  line-height: 1.3;
}

#services .service-intro,
#services .service-section-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}


/* =====================================================
   PHONE TYPOGRAPHY
===================================================== */

@media (max-width: 520px) {

  .therapist-card .therapist-content h3 {
    font-size: 1.2rem !important;
  }

  .therapist-card .therapist-content .eyebrow {
    font-size: 0.68rem !important;
  }

  .therapist-card .therapist-content p {
    font-size: 0.9rem !important;
  }


  #contact .contact-card h3,
  #contact .address-card h3 {
    font-size: 1.1rem !important;
  }

  #contact .contact-card .eyebrow {
    font-size: 0.68rem !important;
  }

  #contact .contact-link,
  #contact .address-card a,
  #contact #businessEmailLink,
  #contact #addressLink {
    font-size: 0.9rem !important;
  }


  #services .service-block > h3 {
    font-size: 1.25rem !important;
  }

  #services .service-section-card h4 {
    font-size: 1rem !important;
  }

}


/* =====================================================
   THERAPIST CARDS - COMPACT DESKTOP
===================================================== */

@media (min-width: 861px) {

  .therapists-list {
    gap: 24px;
    max-width: 980px;
    margin-inline: auto;
  }

  .therapist-card {
    padding: 22px;
    gap: 18px;
  }

  .therapist-image-wrap {
    width: 78%;
    max-width: 360px;
    margin-inline: auto;
  }

  .therapist-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .therapist-content {
    width: 78%;
    max-width: 360px;
    margin-inline: auto;
  }

  .therapist-content h3 {
    font-size: 1.25rem;
  }

  .therapist-content p:last-of-type {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .profile-btn {
    font-size: 0.9rem;
  }
}


/* =====================================================
   SOCIAL ICON ALIGNMENT FIX
===================================================== */

.hero-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  line-height: 0;
}

.hero-social-link svg {
  display: block;
  width: 34px;
  height: 34px;
}

/* Optical alignment for Facebook icon */
.hero-facebook svg {
  width: 31px;
  height: 31px;
  transform: translateY(-2px);
}


/* =====================================================
   A DAY WITHOUT SUN - UPPERCASE BRAND HEADINGS
===================================================== */

.hero-title,
.section-heading h2,
.philosophy-heading h2 {
  text-transform: uppercase;
}


/* =====================================================
   A DAY WITHOUT SUN - DESKTOP SIZE
   Mobile remains unchanged.
===================================================== */

@media (min-width: 861px) {

  .hero-title {
    font-size: clamp(4.4rem, 5.6vw, 6rem);
    line-height: 1.02;
  }

  .section-heading h2,
  .philosophy-heading h2 {
    font-size: clamp(3.4rem, 4.4vw, 4.8rem);
    line-height: 1.05;
  }

}


/* Quicksand only for "Makes Sense" inside Philosophy title */
.philosophy-heading h2 .philosophy-quicksand {
  font-family: "Quicksand Custom", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}


/* =====================================================
   PHILOSOPHY TITLE - MAKES SENSE LOGO TYPOGRAPHY
===================================================== */

.philosophy-heading h2 .philosophy-quicksand {
  font-family: "Quicksand Custom", sans-serif;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  font-size: 0.72em;
  line-height: 1;
  white-space: nowrap;
  vertical-align: 0.08em;
}

/* Desktop optical balance */
@media (min-width: 861px) {
  .philosophy-heading h2 .philosophy-quicksand {
    font-size: 0.68em;
  }
}


/* FORCE lowercase Quicksand "makes sense" on all screen sizes */
.philosophy-heading h2 .philosophy-quicksand {
  text-transform: lowercase !important;
}

@media (max-width: 860px) {
  .philosophy-heading h2 .philosophy-quicksand {
    text-transform: lowercase !important;
  }
}


/* =====================================================
   THERAPIST IMAGES - TEMPORARILY HIDDEN
   To restore later, remove this block.
===================================================== */

.therapist-image-wrap,
.profile-image-wrap {
  display: none !important;
}


/* =====================================================
   THERAPIST PROFILE - DESKTOP LAYOUT FINAL
   Applies only to desktop.
   Mobile remains untouched.
===================================================== */

@media (min-width: 861px) {

  /* Image is temporarily hidden, so remove its empty grid column */
  .profile-grid {
    display: block;
  }

  /* Comfortable reading width instead of a narrow left column */
  .profile-copy {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
  }

  /* Therapist specialty */
  .profile-copy > .eyebrow {
    margin-bottom: 8px;
  }

  /* Therapist name */
  .profile-copy h1 {
    font-size: clamp(2.4rem, 3.2vw, 3.25rem);
    line-height: 1.08;
    margin-top: 0;
    margin-bottom: 28px;
  }

  /* Biography paragraphs */
  .profile-copy > p:not(.eyebrow) {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 22px;
  }

  /* Contact area */
  .profile-contact {
    margin-top: 32px;
  }
}


/* =====================================================
   SERVICE TITLE SPACING AFTER INTRO REMOVAL
   Space between Λογοθεραπεία / Εργοθεραπεία
   and the first content card.
===================================================== */

#services .service-block > h3 {
  margin-bottom: 26px;
}


/* =====================================================
   SERVICE READ MORE / LESS
===================================================== */

.service-extra-content[hidden] {
  display: none !important;
}

.service-extra-content {
  margin-top: 0;
}

.service-extra-content p {
  margin-top: 16px;
}

.service-read-more {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;

  display: inline-flex;
  align-items: center;

  margin-top: 18px;
  padding: 8px 0;

  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-read-more:hover {
  opacity: 0.7;
}

.service-read-more:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .service-read-more {
    font-size: 0.9rem;
    margin-top: 14px;
  }
}


/* =====================================================
   SERVICE READ MORE BUTTON ALIGNMENT
   Keeps Περισσότερα aligned at the bottom of all cards.
===================================================== */

.service-section-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-section-card > .service-read-more {
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-start;
}

/* When extra content is open, keep the button naturally
   after the expanded text instead of forcing it downward. */
.service-section-card:has(.service-extra-content:not([hidden]))
  > .service-read-more {
  margin-top: 18px;
  padding-top: 0;
}

@media (max-width: 520px) {
  .service-section-card > .service-read-more {
    padding-top: 18px;
  }

  .service-section-card:has(.service-extra-content:not([hidden]))
    > .service-read-more {
    margin-top: 14px;
    padding-top: 0;
  }
}


/* =====================================================
   THERAPIST NAME TO PROFILE BUTTON SPACING
===================================================== */

.therapist-content h3 {
  margin-bottom: 24px;
}

.therapist-content .profile-btn {
  margin-top: 0;
}

@media (max-width: 520px) {
  .therapist-content h3 {
    margin-bottom: 20px;
  }
}


/* =====================================================
   CONTACT GOOGLE MAP
===================================================== */

.address-card-map {
  overflow: hidden;
}

.contact-map-wrap {
  width: 100%;
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-soft-surface);
}

.contact-map {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

/* Tablet */
@media (max-width: 860px) {
  .contact-map {
    height: 250px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .contact-map-wrap {
    margin-top: 16px;
    border-radius: 14px;
  }

  .contact-map {
    height: 220px;
  }
}


/* =====================================================
   MOBILE PROFILE + SERVICES FINAL FIX
   Final mobile-only layout.
===================================================== */

@media (max-width: 520px) {

  /* -------------------------
     THERAPIST PROFILE
  ------------------------- */

  .profile-page {
    min-height: auto;
  }

  .profile-page .container {
    width: min(100% - 28px, var(--container-width));
  }

  .profile-card {
    width: 100%;
    padding: 20px 18px;
    border-radius: 20px;
    overflow: hidden;
  }

  .profile-grid {
    display: block;
    width: 100%;
  }

  .profile-copy {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  .profile-copy > .eyebrow {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  .profile-copy h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.8rem !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere;
  }

  .profile-copy > p:not(.eyebrow) {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 0.95rem !important;
    line-height: 1.72 !important;
    overflow-wrap: break-word;
  }

  .profile-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 28px;
  }

  .profile-contact .contact-link {
    width: auto;
    max-width: 100%;
    font-size: 0.9rem !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .back-link {
    margin-bottom: 16px;
    font-size: 0.9rem;
  }


  /* -------------------------
     SERVICES
  ------------------------- */

  #services .service-block {
    padding: 18px 14px;
  }

  #services .service-sections {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
  }

  #services .service-section-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 18px;
    overflow: visible;
  }

  #services .service-section-card h4 {
    margin-top: 0;
  }

  #services .service-section-card > p {
    width: 100%;
  }

  #services .service-extra-content {
    width: 100%;
  }

  #services .service-extra-content[hidden] {
    display: none !important;
  }

  #services .service-read-more {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: auto !important;
    min-height: 44px;

    align-self: flex-start;
    align-items: center;

    margin: 16px 0 0 !important;
    padding: 8px 0 !important;

    border: 0;
    background: transparent;

    color: var(--color-text);
    font-size: 0.9rem !important;
    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 4px;

    cursor: pointer;
  }

  #services .service-section-card:has(
    .service-extra-content:not([hidden])
  ) > .service-read-more {
    margin-top: 16px !important;
    padding-top: 8px !important;
  }
}


/* =====================================================
   FACEBOOK MOBILE ALIGNMENT ONLY
   Desktop keeps the existing -4px optical adjustment.
===================================================== */

@media (max-width: 520px) {
  .hero-facebook svg {
    transform: translateY(-3px);
  }
}

