/* ============================================================
   ΠΡΙΣΜΑ – ΚΕΝΤΡΟ ΕΙΔΙΚΩΝ ΘΕΡΑΠΕΙΩΝ
   Redesign 2026 · warm, accessible, prism-brand design system
   Fonts: Comfortaa (headings) + Nunito (body) — full Greek support
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500;600;700&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ---- Design tokens ---- */
:root {
  /* Brand prism */
  --teal:        #14A5A1;   /* primary */
  --teal-dark:   #0D807D;   /* text-safe on white (4.6:1) */
  --teal-deep:   #0A6866;
  --teal-light:  #E7F7F6;
  --yellow:      #F5C518;   /* CTA — always with navy text */
  --yellow-dark: #E0B200;
  --yellow-light:#FDF4D4;
  --purple:      #A069A0;
  --purple-dark: #8A5389;
  --purple-light:#F5EDF5;
  --navy:        #1E3060;   /* headings / dark surfaces */
  --navy-soft:   #27407A;

  /* Neutrals */
  --white:      #FFFFFF;
  --light-bg:   #F6F9FB;
  --cream:      #FDFBF6;
  --text:       #55637D;    /* body — 6.2:1 on white */
  --text-dark:  #364360;
  --border:     #E7ECF3;

  /* Prism gradient — the brand signature */
  --prism-gradient: linear-gradient(90deg, var(--teal) 0%, var(--yellow) 50%, var(--purple) 100%);

  /* Type */
  --font-head: 'Comfortaa', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  /* Geometry */
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(30, 48, 96, 0.06);
  --shadow-md: 0 10px 30px rgba(30, 48, 96, 0.09);
  --shadow-lg: 0 24px 60px rgba(30, 48, 96, 0.14);

  --header-h: 112px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* Accessibility: visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Accessibility: respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { color: var(--navy); line-height: 1.2; }
p { line-height: 1.85; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
  display: block;
}

/* In the markup, .section-title holds a short uppercase label and
   .section-subtitle the descriptive heading — style them accordingly:
   title = eyebrow chip, subtitle = the real heading. */
.section-title {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 8px 20px;
  border-radius: 50px;
  line-height: 1.4;
}
.section-title[style*="color:#fff"],
.section-title[style*="color: #fff"] {
  background: rgba(255, 255, 255, 0.14);
}
.section-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-top: 18px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { max-width: 580px; margin: 18px auto 0; font-size: 1.02rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;                  /* comfortable touch target */
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245, 197, 24, 0.45); }
.btn-outline { background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 4px 16px rgba(20, 165, 161, 0.3); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20, 165, 161, 0.4); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }

/* ---- Layout ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.bg-light { background: var(--light-bg); }
.bg-teal  { background: var(--teal); }
.bg-navy  { background: var(--navy); }
.text-center { text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}
/* Prism signature line across the top of every page */
header::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--prism-gradient);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { display: block; height: 92px !important; width: auto; }
.logo-text { line-height: 1.05; }
.logo-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.logo-sub {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 1px;
}
/* Nav */
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: inline-block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 9px 16px;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--teal-dark); background: var(--teal-light); }
.main-nav a.active { color: var(--teal-deep); background: var(--teal-light); }
/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 0.95rem; color: var(--navy);
  white-space: nowrap;
}
.header-phone svg { width: 17px; height: 17px; color: var(--teal-dark); }
/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 46px; height: 46px;
  align-items: center;
  border-radius: 12px;
  border: none;
  background: var(--light-bg);
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--teal-light); }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--header-h));
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(23, 37, 74, 0.92) 0%, rgba(30, 48, 96, 0.78) 45%, rgba(13, 128, 125, 0.45) 100%);
}
/* Floating prism triangles — decorative brand touch */
.hero::after {
  content: '';
  position: absolute;
  right: 6%;
  bottom: 12%;
  width: 340px; height: 340px;
  background:
    conic-gradient(from 0deg, transparent 0 100%),
    transparent;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: #fff;
  max-width: 700px;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   ABOUT / WELCOME
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.about-content .section-title,
.about-content .section-subtitle { text-align: left; }
.about-content p { margin-bottom: 20px; color: var(--text); white-space: pre-line; }
.about-content .btn { margin-top: 12px; }
.about-sidebar { position: relative; }
.about-sidebar img {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
/* prism corner accent behind the photo */
.about-sidebar::before {
  content: '';
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--prism-gradient);
  opacity: 0.16;
  border-radius: var(--radius-lg);
  z-index: -1;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.info-card-icon { margin-bottom: 12px; }
.info-card-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3rem;
  color: var(--teal-dark);
  line-height: 1;
}
.info-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-top: 8px;
}
.quote-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--teal);
  opacity: 0.3;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.quote-card blockquote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 16px;
}
.quote-card cite { font-size: 0.8rem; color: var(--text); font-style: normal; }

/* ============================================================
   SERVICES ICON GRID (children)
   ============================================================ */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px 16px;
  text-align: center;
}
.icon-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.icon-circle {
  width: 92px; height: 92px;
  border-radius: 32px;               /* squircle feel */
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-radius 0.25s ease;
  flex-shrink: 0;
}
.icon-circle svg { width: 38px; height: 38px; }
/* prism rotation: alternate brand tints */
.icon-item:nth-child(3n+2) .icon-circle { background: var(--yellow-light); color: #8a6d00; }
.icon-item:nth-child(3n)   .icon-circle { background: var(--purple-light); color: var(--purple-dark); }
.icon-item:hover .icon-circle {
  transform: translateY(-6px) scale(1.05);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.icon-label {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.4;
  max-width: 160px;
}

/* ============================================================
   PROGRAMS (circular image cards — legacy)
   ============================================================ */
.programs-section { background: #fff; }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.program-card {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.program-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.program-card:hover img { transform: scale(1.1); }
.program-overlay {
  position: absolute; inset: 0;
  background: rgba(30, 48, 96, 0.52);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}
.program-card:hover .program-overlay { background: rgba(20, 165, 161, 0.6); }
.program-icon { color: var(--yellow); }
.program-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  padding: 0 24px;
  line-height: 1.3;
}

/* ============================================================
   ADULTS PROGRAMS SECTION
   ============================================================ */
.adults-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(160, 105, 160, 0.25), transparent),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(20, 165, 161, 0.22), transparent),
    var(--navy);
  padding: 96px 0;
  overflow: hidden;
}
.adults-wave { line-height: 0; }
.adults-wave svg { width: 100%; height: 60px; display: block; }
.adults-section .container { padding-top: 0; padding-bottom: 0; }

.adults-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.adults-header-left .section-eyebrow { color: rgba(255, 255, 255, 0.55); }
.adults-header-left .section-title { margin-bottom: 8px; }

.adults-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.adults-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.adults-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.adults-card:hover img { transform: scale(1.07); }
.adults-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 37, 74, 0.92) 0%, rgba(23, 37, 74, 0.35) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 20px;
  transition: background 0.35s ease;
}
.adults-card:hover .adults-card-overlay {
  background: linear-gradient(to top, rgba(13, 128, 125, 0.92) 0%, rgba(13, 128, 125, 0.4) 55%, transparent 80%);
}
.adults-card-icon {
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transform: translateY(4px);
  transition: transform 0.35s ease;
}
.adults-card:hover .adults-card-icon { transform: translateY(0); }
.adults-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .adults-cards { grid-template-columns: repeat(2, 1fr); }
  .adults-header { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .adults-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   METHODS
   ============================================================ */
.methods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.method-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 14px 28px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.method-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.method-card:hover .method-name { color: #fff; }
.method-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
}

/* ============================================================
   TEAM PREVIEW
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px 34px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.team-avatar {
  width: 132px; height: 132px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  padding: 4px;
  border: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--prism-gradient);
  background-origin: border-box;
  background-clip: content-box, border-box;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.team-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  font-weight: 800;
}
.team-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.68rem;
  background: var(--yellow-light);
  color: #7a6100;
  padding: 4px 14px;
  border-radius: 50px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-section-cta { text-align: center; margin-top: 52px; }

/* ============================================================
   NEWS / ARTICLES
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.news-featured { position: relative; max-height: 560px; }
.news-featured img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.news-featured:hover img { transform: scale(1.04); }
.news-featured-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(23, 37, 74, 0.94));
  padding: 64px 32px 32px;
}
.news-date {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.35;
  margin-bottom: 8px;
}
.news-meta { color: rgba(255, 255, 255, 0.65); font-size: 0.78rem; font-weight: 700; }
.news-list-panel {
  background: var(--navy);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}
.news-list-panel .panel-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.news-list-item {
  padding: 20px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.news-list-item:hover { background: rgba(255, 255, 255, 0.07); }
.news-list-item:last-of-type { border-bottom: none; flex: 1; }
.news-list-item .news-date { margin-bottom: 6px; }
.news-list-item .news-title { font-size: 1rem; }
.news-list-panel .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   ONLINE SESSIONS BANNER
   ============================================================ */
.online-banner {
  position: relative;
  background:
    radial-gradient(ellipse 60% 90% at 90% 50%, rgba(245, 197, 24, 0.14), transparent),
    radial-gradient(ellipse 60% 90% at 10% 50%, rgba(160, 105, 160, 0.2), transparent),
    var(--teal-deep);
  padding: 76px 0;
  overflow: hidden;
}
.online-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.online-banner h2,
.online-banner-text h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}
.online-banner p,
.online-banner-text p { color: rgba(255, 255, 255, 0.88); }
.online-banner-icon { opacity: 0.7; }

/* ============================================================
   CONTACT SECTION (home)
   ============================================================ */
.contact-section {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(160, 105, 160, 0.22), transparent),
    var(--navy);
}
.contact-section .section-title { color: #fff; }
.contact-section .section-subtitle { color: rgba(255, 255, 255, 0.85); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
/* Form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-input {
  width: 100%;
  padding: 15px 22px;
  border-radius: 50px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: background 0.25s, border-color 0.25s;
  outline: none;
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.65); }
.form-input:focus { background: rgba(255, 255, 255, 0.24); border-color: var(--yellow); }
.form-textarea { border-radius: 22px; min-height: 150px; resize: vertical; }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
/* Info card */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.contact-info-logo { margin-bottom: 28px; }
.contact-info-logo svg { margin: 0 auto; }
.contact-detail { margin-bottom: 26px; }
.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 5px;
}
.contact-detail-value { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.contact-detail-value a { color: var(--teal-dark); transition: color 0.2s; }
.contact-detail-value a:hover { color: var(--teal-deep); text-decoration: underline; }
.contact-social { margin-top: 28px; display: flex; justify-content: center; gap: 12px; }

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery-strip { display: flex; overflow: hidden; }
.gallery-strip img {
  flex: 1; min-width: 0;
  height: 210px;
  object-fit: cover;
  filter: saturate(0.7);
  transition: filter 0.35s, flex 0.35s;
}
.gallery-strip img:hover { filter: saturate(1); flex: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  padding: 72px 24px 28px;
  text-align: center;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--prism-gradient);
}
.footer-logo { margin-bottom: 30px; }
.footer-logo img {
  height: 64px !important;
  width: auto;
  margin: 0 auto;
  background: #fff;
  padding: 8px 14px;
  border-radius: 16px;
}
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 8px; margin-bottom: 28px; }
.footer-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  padding: 8px 16px;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.footer-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.footer-socials { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.social-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.social-btn svg { width: 19px; height: 19px; }
.social-btn:hover { transform: translateY(-3px); background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
/* Social buttons on white surfaces (contact cards) */
.contact-info-card .social-btn,
.contact-info-block .social-btn {
  background: var(--teal-light);
  border-color: transparent;
  color: var(--teal-dark);
}
.contact-info-card .social-btn:hover,
.contact-info-block .social-btn:hover { background: var(--navy); color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.12); margin: 0 0 20px; }
.footer-copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(160, 105, 160, 0.3), transparent),
    radial-gradient(ellipse 60% 70% at 10% 90%, rgba(20, 165, 161, 0.35), transparent),
    var(--navy);
  padding: 150px 24px 88px;
  text-align: center;
  margin-top: var(--header-h);
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { margin-bottom: 18px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); }
.breadcrumb a { color: var(--yellow); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-block { margin-bottom: 64px; }
.services-block:last-child { margin-bottom: 0; }
.services-block-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--yellow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.service-card-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card-icon svg { width: 28px; height: 28px; }
.service-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.92rem; line-height: 1.75; }

/* Methods pills on services page */
.methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.method-pill {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 14px 28px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.method-pill:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.method-pill:hover .method-pill-name { color: #fff; }
.method-pill-name { font-size: 0.92rem; font-weight: 700; color: var(--navy); line-height: 1; white-space: nowrap; }

/* Children service cards (ypiresies) */
.service-card-teal {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card-teal:nth-child(3n+2) { border-top-color: var(--yellow); }
.service-card-teal:nth-child(3n)   { border-top-color: var(--purple); }
.service-card-teal:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card-teal .service-card-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card-teal:nth-child(3n+2) .service-card-icon { background: var(--yellow-light); color: #8a6d00; }
.service-card-teal:nth-child(3n)   .service-card-icon { background: var(--purple-light); color: var(--purple-dark); }
.service-card-teal .service-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card-teal p { font-size: 0.9rem; line-height: 1.75; color: var(--text); margin: 0; }

/* Adults dark section (ypiresies) */
.ypiresies-adults {
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(160, 105, 160, 0.25), transparent),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(20, 165, 161, 0.22), transparent),
    var(--navy);
  padding: 88px 0;
}
.ypiresies-adults .section-title { color: #fff; background: rgba(255, 255, 255, 0.14); }
.ypiresies-adults .section-subtitle { color: rgba(255, 255, 255, 0.85); }
.ypiresies-adults .section-eyebrow { color: var(--yellow); }
.services-dark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.service-card-dark {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.service-card-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-4px); }
.service-card-dark-icon {
  width: 52px; height: 52px;
  background: rgba(245, 197, 24, 0.16);
  color: var(--yellow);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card-dark-icon svg { width: 24px; height: 24px; }
.service-card-dark-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}
.service-card-dark p { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; line-height: 1.7; margin: 0; }
@media (max-width: 700px) {
  .services-dark-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-full-card {
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.team-full-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; cursor: pointer; }
.team-full-avatar {
  width: 148px; height: 148px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 22px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  padding: 4px;
  border: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--prism-gradient);
  background-origin: border-box;
  background-clip: content-box, border-box;
}
.team-full-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-full-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.team-full-role {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.team-full-badge {
  display: inline-block;
  background: var(--yellow-light);
  color: #7a6100;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 50px;
}

/* About team intro */
.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.team-intro-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.team-intro-image img { width: 100%; height: 380px; object-fit: cover; }
.team-intro-content .section-title { text-align: left; }
.team-intro-content .section-subtitle { text-align: left; }
.team-intro-content p { margin-top: 20px; margin-bottom: 16px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-page-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
}
.contact-page-form h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 32px;
}
.contact-page-form .form-input {
  background: var(--light-bg);
  color: var(--text-dark);
  border: 2px solid transparent;
}
.contact-page-form .form-input::placeholder { color: var(--text); }
.contact-page-form .form-input:focus { background: #fff; border-color: var(--teal); }
.contact-page-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 30px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.25s;
}
.contact-info-block:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-info-block-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-block-icon svg { width: 24px; height: 24px; }
.contact-info-block:nth-child(3n+2) .contact-info-block-icon { background: var(--yellow-light); color: #8a6d00; }
.contact-info-block:nth-child(3n)   .contact-info-block-icon { background: var(--purple-light); color: var(--purple-dark); }
.contact-info-block h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-info-block p { font-size: 0.92rem; color: var(--text-dark); font-weight: 700; }
.contact-info-block a:hover { color: var(--teal-dark); text-decoration: underline; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 24px; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 260px; border: none; display: block; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  padding: 64px 0;
}
.article-body { min-width: 0; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-date {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
}
.article-cat {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 50px;
}
.article-body h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 28px;
}
.article-body h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 40px 0 16px;
}
.article-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-dark);
  margin: 28px 0 12px;
}
.article-body p { line-height: 1.9; color: var(--text-dark); margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; line-height: 1.9; }
.article-body li { margin-bottom: 10px; color: var(--text-dark); }
.article-body strong { color: var(--navy); }
.article-body .step-list { list-style: none; margin-left: 0; counter-reset: step-counter; }
.article-body .step-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 18px 20px 18px 68px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.article-body .step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.article-body .info-box {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 24px;
  margin: 28px 0;
}
.article-body .info-box p { margin-bottom: 0; }
.article-body .warning-box {
  background: var(--yellow-light);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 24px;
  margin: 28px 0;
}
.article-body .warning-box p { margin-bottom: 0; }
.article-divider {
  height: 3px;
  background: var(--prism-gradient);
  border: none;
  border-radius: 2px;
  margin: 40px 0;
  opacity: 0.6;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--teal-dark);
  text-decoration: none;
  margin-bottom: 32px;
  transition: gap 0.2s, color 0.2s;
}
.article-back:hover { gap: 12px; color: var(--navy); }
.article-tags { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.article-tags-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 14px;
}
.article-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--text-dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
/* Sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sidebar-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
}
.sidebar-related { display: flex; flex-direction: column; gap: 16px; }
.sidebar-related-item { text-decoration: none; }
.sidebar-related-date { font-size: 0.72rem; font-weight: 800; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.sidebar-related-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); line-height: 1.45; transition: color 0.2s; }
.sidebar-related-item:hover .sidebar-related-title { color: var(--teal-dark); }
.sidebar-cta {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.sidebar-cta h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}
.sidebar-cta p { font-size: 0.87rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 20px; line-height: 1.65; }
/* Milestones */
.milestone-section { margin-bottom: 36px; }
.milestone-age {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.milestone-group { margin-bottom: 16px; }
.milestone-group-label {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.milestone-group ul { margin-left: 20px; }
.milestone-group ul li { font-size: 0.92rem; margin-bottom: 6px; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

/* ============================================================
   WAVE SEPARATORS
   ============================================================ */
.sw-top { display: block; line-height: 0; font-size: 0; margin: 0; padding: 0; overflow: hidden; }
.sw-top svg { display: block; width: 100%; height: 60px; }

/* ============================================================
   MEMBER PROFILE PAGE
   ============================================================ */
.member-hero {
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(160, 105, 160, 0.3), transparent),
    radial-gradient(ellipse 60% 70% at 10% 90%, rgba(20, 165, 161, 0.35), transparent),
    var(--navy);
  padding: 80px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.member-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--header-h) 24px 60px;
}
.member-hero-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--teal-light);
  margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  padding: 5px;
  border: 4px solid transparent;
  background-image: linear-gradient(var(--teal-light), var(--teal-light)), var(--prism-gradient);
  background-origin: border-box;
  background-clip: content-box, border-box;
}
.member-hero-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.member-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 10px;
}
.member-hero-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 10px;
}
.member-hero-role {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.member-hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 50px;
}
/* Profile layout */
.member-profile-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  padding: 64px 0;
}
.member-profile-body { min-width: 0; }
.member-profile-body h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 36px 0 16px;
}
.member-profile-body h2:first-child { margin-top: 0; }
.member-profile-body p { line-height: 1.9; color: var(--text-dark); margin-bottom: 18px; }
.member-profile-body ul { margin: 0 0 20px 20px; line-height: 1.9; list-style: disc; }
.member-profile-body li { margin-bottom: 10px; color: var(--text-dark); }
.member-profile-body strong { color: var(--navy); }
.member-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}
.member-specialty-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-bg);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  transition: background 0.2s, border-color 0.2s;
}
.member-specialty-tag:hover { background: var(--teal-light); border-color: var(--teal); }
/* Profile sidebar */
.member-profile-sidebar { display: flex; flex-direction: column; gap: 28px; }
.member-sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.member-sidebar-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
}
.member-sidebar-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.member-sidebar-card ul li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.member-sidebar-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 1rem;
}
.member-sidebar-cta {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.member-sidebar-cta h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}
.member-sidebar-cta p { font-size: 0.87rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 20px; line-height: 1.65; }
/* Other members strip */
.other-members { background: var(--light-bg); padding: 64px 0; }
.other-members-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 36px;
}
.other-members-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.other-member-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.other-member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.other-member-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  padding: 3px;
  border: 2.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--prism-gradient);
  background-origin: border-box;
  background-clip: content-box, border-box;
}
.other-member-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.other-member-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 5px;
}
.other-member-role {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .member-profile-layout { grid-template-columns: 1fr; }
  .member-profile-sidebar { display: none; }
  .other-members-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .other-members-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 9px 12px; font-size: 0.88rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .logo img { height: 64px !important; }
  section { padding: 72px 0; }
  .header-phone { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile dropdown nav */
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(30, 48, 96, 0.15);
    z-index: 998;
    padding: 12px 24px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .main-nav.open,
  .main-nav[style*="display: block"] { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 1.02rem;
    border-radius: var(--radius-sm);
  }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-sidebar { max-width: 440px; margin: 0 auto; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team-full-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-page-grid { grid-template-columns: 1fr; }
  .team-intro { grid-template-columns: 1fr; }
  .online-banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .section-header { margin-bottom: 44px; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .icon-circle { width: 80px; height: 80px; }
  .icon-circle svg { width: 32px; height: 32px; }
  .methods-grid, .methods-list { gap: 10px; }
  .method-card, .method-pill { padding: 12px 22px; }
  .method-name, .method-pill-name { white-space: normal; font-size: 0.85rem; }
  .programs-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr; }
  .team-full-grid { grid-template-columns: 1fr; }
  .services-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { gap: 6px 4px; }
  .gallery-strip img { height: 140px; }
  .hero-buttons .btn { width: 100%; }
  .contact-page-form { padding: 32px 24px; }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: #fff;
  z-index: 9999;
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  min-width: 220px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.cookie-banner-text strong { color: #fff; font-size: 0.95rem; }
.cookie-banner-text a { color: #7BDBD8; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--yellow);
  color: var(--navy);
  border: none;
  min-height: 44px;
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-btn-accept:hover { background: var(--yellow-dark); }
.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.3);
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cookie-btn-decline:hover { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}
