/*
Theme Name: Filia Menden
Author: NSK IT-Solutions
Description: Zweisprachiges Filia-Design, aus der bestehenden Vereinswebsite für WordPress angepasst.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: filia-menden
*/
img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p,ul{margin-top:0}

:root {
  --ink: #14253d;
  --muted: #647287;
  --blue: #1596d2;
  --blue-dark: #0b78b6;
  --sky: #eaf8ff;
  --yellow: #ffd549;
  --green: #a9d76e;
  --red: #f44443;
  --paper: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 58px; object-fit: cover; object-position: 50% 51%; border-radius: 50%; }
.brand span { display: grid; line-height: 1.08; }
.brand strong { color: var(--blue-dark); font-size: 24px; font-weight: 800; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; color: #3f5066; font-size: 14px; font-weight: 700; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--blue); transition: width .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; border: 1px solid #dbe8ef; border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 800; background: white; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 50px; width: 220px; padding: 14px; display: grid; gap: 4px; border-radius: 18px; background: white; box-shadow: 0 20px 50px rgba(18,70,97,.18); }
.mobile-menu nav a { padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.mobile-menu nav a:hover { background: var(--sky); }
.language-switcher { flex: 0 0 auto; min-height: 38px; padding: 4px; border: 1px solid #d8e8ef; border-radius: 999px; display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,.86); box-shadow: 0 8px 20px rgba(18,70,97,.07); }
.language-switcher a { width: 36px; height: 29px; border-radius: 999px; display: grid; place-items: center; color: #647287; font-size: 11px; font-weight: 900; letter-spacing: .04em; transition: background .2s ease, color .2s ease; }
.language-switcher a[aria-current="page"] { background: var(--blue-dark); color: white; }
.language-switcher a:not([aria-current="page"]):hover,
.language-switcher a:not([aria-current="page"]):focus-visible { background: var(--sky); color: var(--blue-dark); }
.language-switcher > span { width: 1px; height: 14px; background: #dbe8ee; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: white;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(11, 120, 182, .22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #076ca5; box-shadow: 0 16px 32px rgba(11, 120, 182, .28); }
.button-small { min-height: 44px; padding: 0 19px; font-size: 13px; }

.hero {
  width: min(1280px, calc(100% - 32px));
  min-height: 680px;
  margin: 4px auto 0;
  padding: 80px clamp(28px, 6vw, 88px);
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 0%, rgba(169,215,110,.28), transparent 29%),
    radial-gradient(circle at 78% 100%, rgba(255,213,73,.30), transparent 30%),
    linear-gradient(135deg, #effaff 0%, #f7fcff 55%, #fffdf5 100%);
  position: relative;
}
.hero::before { content: ""; position: absolute; width: 190px; height: 190px; left: -80px; bottom: -100px; border: 32px solid rgba(21,150,210,.13); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 22px; color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 32px; height: 3px; background: var(--yellow); border-radius: 4px; }
h1 { margin: 0; max-width: 650px; font-size: clamp(52px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
h1 span { display: block; color: var(--blue-dark); }
.hero-text { max-width: 560px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.text-link { font-size: 14px; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; }
.text-link span { color: var(--blue); }
.trust-row { margin-top: 48px; display: flex; align-items: center; gap: 14px; color: #536277; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trust-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }

.hero-visual { min-height: 510px; position: relative; display: grid; place-items: center; }
.logo-card { width: min(410px, 80%); aspect-ratio: 1 / 1.08; padding: 18px; border-radius: 46% 54% 52% 48% / 44% 47% 53% 56%; background: white; box-shadow: 0 30px 80px rgba(21,91,130,.16); position: relative; z-index: 2; display: grid; place-items: center; transform: rotate(2deg); }
.logo-card img { width: 94%; height: 94%; object-fit: contain; border-radius: 38%; }
.orb { position: absolute; border-radius: 50%; }
.orb-blue { width: 160px; height: 160px; background: rgba(21,150,210,.18); right: 0; top: 18px; }
.orb-yellow { width: 110px; height: 110px; background: rgba(255,213,73,.58); left: 18px; bottom: 28px; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 18px 40px rgba(18,70,97,.14); backdrop-filter: blur(10px); }
.floating-card p { margin: 0; display: grid; gap: 3px; }
.floating-card strong { font-size: 13px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.card-top { right: 5px; top: 88px; }
.card-bottom { left: -15px; bottom: 62px; }
.mini-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: #eef8dc; color: #6ea428; }
.avatar-stack { display: flex; padding-left: 10px; }
.avatar-stack b { width: 30px; height: 30px; margin-left: -10px; border-radius: 50%; border: 3px solid white; background: var(--blue); }
.avatar-stack b:nth-child(2) { background: var(--red); }
.avatar-stack b:nth-child(3) { background: var(--yellow); }

.intro { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0 110px; text-align: center; }
.section-kicker { margin: 0 0 18px; color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.intro h2 { max-width: 780px; margin: 0 auto; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
.intro-copy { max-width: 790px; margin: 26px auto 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.intro-copy p { margin: 0; }
.intro-copy p + p { margin-top: 18px; }
.intro-contact-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-dark); font-size: 14px; font-weight: 900; }
.value-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.value-grid article { padding: 28px; border: 1px solid #dcebf2; border-radius: 22px; background: white; }
.value-grid span { color: var(--blue); font-size: 12px; font-weight: 800; }
.value-grid h3 { margin: 24px 0 8px; font-size: 22px; }
.value-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.offers { padding: 110px max(24px, calc((100% - 1180px) / 2)); background: #f1faff; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.section-heading h2, .events h2, .membership h2, .contact h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.offer-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer-card { min-height: 350px; padding: 34px; border-radius: 28px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; }
.offer-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -62px; bottom: -70px; border: 28px solid rgba(255,255,255,.45); border-radius: 50%; }
.offer-blue { background: #dff4ff; }
.offer-yellow { background: #fff3bd; }
.offer-green { background: #ecf7d9; }
.offer-red { background: #ffe7e4; }
.offer-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: white; color: var(--blue-dark); font-size: 22px; font-weight: 900; box-shadow: 0 10px 24px rgba(45,78,96,.10); }
.offer-yellow .offer-icon { color: #c69000; }
.offer-green .offer-icon { color: #679d25; }
.offer-red .offer-icon { color: var(--red); }
.card-label { margin: 30px 0 8px; color: var(--blue-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.offer-yellow .card-label { color: #9c7000; }
.offer-green .card-label { color: #577f24; }
.offer-red .card-label { color: #bd3631; }
.offer-card h3 { max-width: 420px; margin: 0; font-size: 28px; letter-spacing: -.025em; }
.offer-card > p:not(.card-label) { max-width: 470px; margin: 14px 0 24px; color: #596a7c; line-height: 1.65; }
.offer-card a { margin-top: auto; position: relative; z-index: 2; display: inline-flex; gap: 8px; font-size: 13px; font-weight: 900; }

.greek-classes { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0 30px; }
.greek-classes-heading { max-width: 740px; }
.greek-classes h2 { margin: 0; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -.04em; }
.greek-classes-heading > p:last-child { color: var(--muted); line-height: 1.65; font-size: 16px; }
.greek-classes-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.greek-class-day { border: 1px solid #dcebf2; border-radius: 24px; background: white; overflow: hidden; }
.greek-class-day h3 { margin: 0; padding: 18px 24px; background: #dff4ff; color: var(--blue-dark); font-size: 21px; }
.greek-class-day ul { margin: 0; padding: 9px 22px; list-style: none; }
.greek-class-day li { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 16px 0; border-bottom: 1px solid #e5eff3; font-size: 15px; }
.greek-class-day li:last-child { border: 0; }
.greek-class-day li strong { font-size: 16px; }
.greek-class-day li span { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: 14px; }
.greek-class-day li time { grid-column: 2; grid-row: 1; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--blue-dark); }

.events { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 100px; }
.events-copy { position: sticky; top: 40px; }
.events-copy > p:not(.section-kicker) { margin: 24px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.event-list { display: grid; gap: 14px; }
.event-list article { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 22px; padding: 22px; border: 1px solid #dcebf2; border-radius: 24px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.event-list article:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(18,70,97,.09); }
.date-box { aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 20px; background: #dff4ff; color: var(--blue-dark); }
.date-box strong { font-size: 15px; }
.date-box span { margin-top: 3px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.date-box.yellow { background: #fff1ad; color: #946c00; }
.date-box.green { background: #e9f7d4; color: #557f20; }
.event-list article > div:last-child > p { margin: 0 0 6px; color: var(--blue-dark); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.event-list h3 { margin: 0 0 8px; font-size: 21px; }
.event-list article > div:last-child > span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.event-note { margin: 6px 0 0; color: #7a8796; font-size: 11px; text-align: right; }

.membership { width: min(1280px, calc(100% - 32px)); margin: 0 auto; padding: 88px clamp(28px, 7vw, 94px); border-radius: 36px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 90px; background: #17324f; color: white; overflow: hidden; }
.membership .section-kicker { color: #77cef6; }
.membership-copy > p:not(.section-kicker) { margin: 24px 0; color: #c9d6e2; font-size: 16px; line-height: 1.75; }
.membership ul { margin: 0 0 32px; padding: 0; display: grid; gap: 13px; list-style: none; color: #eef6fb; font-size: 14px; }
.membership li { display: flex; align-items: center; gap: 10px; }
.membership li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(169,215,110,.18); color: #b8e681; font-weight: 900; }
.member-status { margin: 0 0 28px; width: fit-content; padding: 12px 18px 12px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.07); }
.member-status strong { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--yellow); color: #6f5500; font-size: 24px; }
.member-status span { color: #d8e4ed; font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.membership-art { min-height: 430px; position: relative; display: grid; place-items: center; }
.membership-logo {
  width: min(440px, 94%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(3,25,46,.32));
  animation: filia-logo-float 6s ease-in-out infinite;
}

@keyframes filia-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.social-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 10px;
}
.social-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 70px;
}
.social-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.social-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.social-grid { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.social-card {
  min-height: 220px;
  padding: 30px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  color: white;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 20px 50px rgba(22, 47, 72, .14);
  transition: transform .25s ease, box-shadow .25s ease;
}
.social-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  right: -65px;
  bottom: -100px;
  border: 30px solid rgba(255,255,255,.14);
  border-radius: 50%;
  transition: transform .35s ease;
}
.social-card:hover,
.social-card:focus-visible { transform: translateY(-7px); box-shadow: 0 28px 64px rgba(22, 47, 72, .22); }
.social-card:hover::before,
.social-card:focus-visible::before { transform: scale(1.12) rotate(8deg); }
.social-card:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.social-instagram { background: linear-gradient(135deg, #4c38d4 0%, #a52aab 40%, #ef3e65 70%, #f5a33b 100%); }
.social-facebook { background: linear-gradient(135deg, #0866ff 0%, #0347b8 100%); }
.social-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.instagram-icon { position: relative; }
.instagram-icon::before { content: ""; width: 30px; height: 30px; border: 4px solid white; border-radius: 9px; }
.instagram-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: 4px solid white; border-radius: 50%; transform: translate(-50%, -50%); }
.instagram-icon i { position: absolute; width: 5px; height: 5px; right: 19px; top: 18px; border-radius: 50%; background: white; }
.facebook-icon { align-items: end; padding-bottom: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 62px; font-weight: 900; line-height: .85; }
.social-card-copy { display: grid; gap: 5px; min-width: 0; }
.social-card-copy small { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.social-card-copy strong { overflow-wrap: anywhere; font-size: clamp(20px, 2.4vw, 29px); letter-spacing: -.025em; }
.social-card-copy > span { font-size: 13px; opacity: .88; }
.social-arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: white; color: #17324f; font-size: 20px; font-weight: 900; transition: transform .22s ease; }
.social-card:hover .social-arrow,
.social-card:focus-visible .social-arrow { transform: rotate(10deg) scale(1.08); }

.contact { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 90px; }
.contact > div:first-child > p:not(.section-kicker) { max-width: 590px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.contact-card { padding: 38px; border-radius: 28px; background: var(--sky); }
.contact-icon { width: 52px; height: 52px; margin: 0 0 24px; display: grid; place-items: center; border-radius: 16px; background: white; color: var(--blue-dark); font-size: 22px; }
.contact-card h3 { margin: 0; font-size: 25px; }
.contact-card > p:not(.contact-icon) { margin: 12px 0 24px; color: var(--muted); line-height: 1.65; }
.contact-mail { display: block; width: fit-content; margin: -8px 0 18px; color: var(--blue-dark); font-weight: 900; }
.contact-card span { display: inline-flex; padding: 9px 13px; border-radius: 999px; background: white; color: var(--blue-dark); font-size: 12px; font-weight: 800; }

footer { padding: 70px max(24px, calc((100% - 1180px) / 2)) 28px; background: #edf7fb; }
.footer-brand { width: fit-content; }
footer > p { max-width: 460px; margin: 22px 0 32px; color: var(--muted); font-size: 14px; }
footer > nav { display: flex; flex-wrap: wrap; gap: 22px; color: #43546a; font-size: 13px; font-weight: 700; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid #d3e5ec; display: flex; justify-content: space-between; gap: 20px; color: #718091; font-size: 11px; }
.footer-bottom a { color: var(--blue-dark); font-weight: 800; }
.footer-bottom strong { color: var(--blue-dark); font-weight: 900; }
.footer-credit { display: grid; gap: 8px; }
.creator-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.creator-link { min-height: 34px; padding: 7px 11px; border: 1px solid #d4e5ec; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.78); box-shadow: 0 6px 18px rgba(23,50,79,.07); transition: transform .2s ease, box-shadow .2s ease; }
.creator-link:hover, .creator-link:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,50,79,.13); }
.creator-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.footer-bottom .creator-instagram { border-color: transparent; color: white; background: linear-gradient(135deg, #4c38d4 0%, #a52aab 42%, #ef3e65 72%, #f5a33b 100%); }
.creator-instagram-icon { width: 16px; height: 16px; position: relative; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 5px; }
.creator-instagram-icon::before { content: ""; width: 5px; height: 5px; border: 1.5px solid currentColor; border-radius: 50%; }
.creator-instagram-icon i { position: absolute; width: 2.5px; height: 2.5px; right: 2px; top: 2px; border-radius: 50%; background: currentColor; }

.subpage-shell { min-height: 100vh; background: #fffdf8; }
.subpage-header { border-bottom: 1px solid #e3edf1; }
.subpage-header-actions { display: flex; align-items: center; gap: 18px; }
.back-link { color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.subpage-hero { width: min(1180px, calc(100% - 40px)); margin: 24px auto 0; padding: 78px clamp(28px, 7vw, 88px); border-radius: 32px; background: radial-gradient(circle at 94% 0%, rgba(169,215,110,.30), transparent 30%), linear-gradient(135deg, #eaf8ff, #fff9df); }
.subpage-hero h1 { max-width: 880px; font-size: clamp(48px, 7vw, 78px); }
.subpage-hero > p:not(.section-kicker) { max-width: 740px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.subpage-footer { margin-top: 100px; }

.form-page-grid { width: min(1160px, calc(100% - 40px)); margin: 74px auto 0; display: grid; grid-template-columns: 320px 1fr; align-items: start; gap: 34px; }
.form-aside { position: sticky; top: 28px; padding: 30px; border-radius: 26px; background: #17324f; color: white; }
.aside-number { width: 72px; height: 72px; margin: 0 0 28px; display: grid; place-items: center; border-radius: 22px; background: var(--yellow); color: #695000; font-size: 24px; font-weight: 900; }
.form-aside h2 { margin: 0; font-size: 26px; line-height: 1.15; }
.form-aside > p:not(.aside-number) { margin: 14px 0 24px; color: #c9d6e2; line-height: 1.65; }
.form-aside ul { padding: 0; margin: 0 0 28px; display: grid; gap: 12px; list-style: none; color: #e6eff5; font-size: 13px; }
.form-aside li { display: flex; gap: 9px; align-items: flex-start; }
.form-aside li span { color: #b9e782; font-weight: 900; }
.form-aside > a { color: #76cef6; font-size: 13px; font-weight: 800; }

.membership-form { padding: 42px; border: 1px solid #dcebf2; border-radius: 28px; background: white; box-shadow: 0 24px 70px rgba(18,70,97,.08); }
.form-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-section-heading { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #e4edf1; }
.form-section-heading:not(:first-child) { margin-top: 46px; }
.form-section-heading > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--sky); color: var(--blue-dark); font-size: 12px; font-weight: 900; }
.form-section-heading h2 { margin: 0; font-size: 23px; }
.form-section-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.form-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid label { display: grid; gap: 9px; color: #36495f; font-size: 13px; font-weight: 800; }
.form-grid input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cadbe4; border-radius: 12px; background: #fbfdfe; color: var(--ink); font: inherit; font-weight: 500; outline: none; transition: border-color .2s, box-shadow .2s; }
.form-grid input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,150,210,.12); }
.form-grid small { color: #7a8897; font-size: 10px; font-weight: 500; line-height: 1.45; }
.form-wide { grid-column: 1 / -1; }
.form-consent { margin-top: 36px; padding: 24px; display: grid; gap: 15px; border-radius: 18px; background: #f1f9fc; }
.form-consent label { display: flex; align-items: flex-start; gap: 11px; color: #465a70; font-size: 12px; line-height: 1.5; }
.form-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue-dark); }
.form-consent a { color: var(--blue-dark); text-decoration: underline; font-weight: 800; }
.form-submit-row { margin-top: 28px; display: flex; align-items: center; gap: 20px; }
.form-submit-row .button { border: 0; cursor: pointer; font-family: inherit; }
.form-submit-row .button:disabled { cursor: wait; opacity: .65; }
.form-submit-row p { margin: 0; max-width: 250px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.form-message { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: #ecf7d9; color: #496f1a; font-size: 13px; font-weight: 700; }

.legal-content { width: min(900px, calc(100% - 40px)); margin: 72px auto 0; padding: 48px; border: 1px solid #dcebf2; border-radius: 28px; background: white; box-shadow: 0 24px 70px rgba(18,70,97,.06); }
.legal-content h2 { margin: 40px 0 12px; color: #17324f; font-size: 23px; }
.legal-content h2:first-of-type { margin-top: 24px; }
.legal-content p { margin: 0 0 14px; color: #53657a; font-size: 15px; line-height: 1.75; }
.legal-content a { color: var(--blue-dark); text-decoration: underline; font-weight: 700; }
.legal-notice { margin-bottom: 34px; padding: 22px; border-left: 5px solid var(--yellow); border-radius: 14px; background: #fff8d8; }
.legal-notice.warning { border-left-color: var(--red); background: #fff0ee; }
.legal-notice strong { display: block; margin-bottom: 8px; font-size: 15px; }
.legal-notice p { margin: 0; font-size: 13px; }

.whatsapp-contact {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 100;
  display: grid;
  justify-items: end;
  gap: 12px;
}
.filia-chat { position: fixed; left: clamp(18px, 3vw, 34px); bottom: clamp(18px, 3vw, 32px); z-index: 101; display: grid; justify-items: start; gap: 12px; font-family: Arial, Helvetica, sans-serif; }
.filia-chat-toggle { border: 0; background: transparent; color: var(--ink); padding: 0; display: grid; justify-items: center; font-size: 14px; font-weight: 800; cursor: pointer; }
.filia-chat-toggle img { display: block; width: 120px; height: 104px; object-fit: contain; transform-origin: 50% 90%; filter: drop-shadow(0 7px 8px #14253d40); animation: filia-greet 4s ease-in-out infinite; }
.filia-chat-toggle:hover img { animation-duration: 1.2s; }
.filia-chat-label { display: block; margin-top: -3px; padding: 8px 13px; border-radius: 999px; background: var(--blue-dark); color: white; box-shadow: 0 5px 15px #14253d30; }
@keyframes filia-greet { 0%, 68%, 100% { transform: translateY(0) rotate(0); } 74% { transform: translateY(-8px) rotate(-7deg); } 81% { transform: translateY(-5px) rotate(6deg); } 88% { transform: translateY(0) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .filia-chat-toggle img { animation: none; } }
.filia-chat-toggle:focus-visible, .filia-chat button:focus-visible, .filia-chat a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.filia-chat-panel { width: min(370px, calc(100vw - 28px)); max-height: min(560px, calc(100dvh - 110px)); overflow: auto; background: white; border: 1px solid #dbe8ee; border-radius: 22px; box-shadow: 0 20px 55px #14253d38; }
.filia-chat-head { background: var(--blue-dark); color: white; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
.filia-chat-head button { background: transparent; border: 0; color: white; font-size: 27px; line-height: 1; cursor: pointer; }
.filia-chat-body { padding: 18px; display: grid; gap: 14px; font-size: 15px; line-height: 1.5; }
.filia-chat-bubble { margin: 0; padding: 13px 15px; border-radius: 15px 15px 15px 4px; background: var(--sky); }
.filia-chat-choice { margin: 0; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: #edf2f5; justify-self: end; }
.filia-chat-form { display: flex; gap: 7px; min-width: 0; }
.filia-chat-form input { min-width: 0; flex: 1; border: 1px solid #a9cbdc; border-radius: 11px; padding: 10px; font: inherit; font-size: 14px; background: white; color: var(--ink); }
.filia-chat-form button { border: 0; border-radius: 11px; background: var(--blue-dark); color: white; padding: 9px 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.filia-chat-form button:disabled { opacity: .5; cursor: default; }
.filia-chat-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.filia-chat-topics { display: grid; gap: 8px; }
.filia-chat-topics button, .filia-chat-link { border: 1px solid #b9dceb; border-radius: 12px; background: white; color: var(--blue-dark); padding: 11px 13px; text-align: left; font-size: 14px; font-weight: 700; cursor: pointer; }
.filia-chat-link { display: inline-block; justify-self: start; }
.filia-chat-topics button:hover, .filia-chat-link:hover { background: var(--sky); }
.filia-chat-body small { color: var(--muted); font-size: 12px; line-height: 1.45; }
@media (max-width: 600px) { .filia-chat { left: 14px; bottom: 14px; } .filia-chat-toggle img { width: 96px; height: 84px; } .filia-chat-label { font-size: 12px; padding: 7px 10px; } .filia-chat-panel { max-height: calc(100dvh - 150px); } }
.whatsapp-toggle {
  position: relative;
  min-height: 58px;
  padding: 0 20px 0 15px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2ad66d, #16a958);
  color: white;
  box-shadow: 0 18px 42px rgba(18, 139, 76, .34);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  animation: whatsapp-float 5s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, .42);
  border-radius: inherit;
  animation: whatsapp-ring 3.6s ease-out infinite;
  pointer-events: none;
}
.whatsapp-toggle:hover,
.whatsapp-toggle:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(18, 139, 76, .42);
}
.whatsapp-toggle:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.whatsapp-toggle svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-toggle svg path:last-child { fill: currentColor; stroke: none; }
.whatsapp-menu {
  width: min(330px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid rgba(18, 139, 76, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 60px rgba(20, 37, 61, .18);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.97);
  transform-origin: right bottom;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.whatsapp-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.whatsapp-menu > strong { display: block; color: #153b2a; font-size: 17px; }
.whatsapp-menu > span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.whatsapp-options { margin-top: 15px; display: grid; gap: 9px; }
.whatsapp-options a {
  min-height: 47px;
  padding: 0 14px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #edfff4;
  color: #12683c;
  font-size: 14px;
  font-weight: 900;
  transition: background .18s ease, transform .18s ease;
}
.whatsapp-options a:hover,
.whatsapp-options a:focus-visible { background: #d7f9e4; transform: translateX(-2px); }
.whatsapp-options a:focus-visible { outline: 2px solid #18aa59; outline-offset: 2px; }
.whatsapp-options a span { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #22bc63; color: white; }
.whatsapp-menu small { display: block; margin-top: 13px; color: #718091; font-size: 10px; line-height: 1.45; }

@keyframes whatsapp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes whatsapp-ring {
  0% { opacity: .65; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.16, 1.35); }
}

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
}

@media (max-width: 900px) {
  .greek-classes-grid { grid-template-columns: 1fr; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 62px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 450px; }
  .value-grid { grid-template-columns: 1fr; }
  .section-heading, .events, .membership, .contact { grid-template-columns: 1fr; }
  .section-heading { align-items: start; gap: 24px; }
  .events { gap: 54px; }
  .events-copy { position: static; }
  .membership { gap: 42px; }
  .membership-art { order: 2; }
  .social-heading { grid-template-columns: 1fr; gap: 24px; }
  .social-grid { grid-template-columns: 1fr; }
  .contact { gap: 44px; }
  .form-page-grid { grid-template-columns: 1fr; }
  .form-aside { position: static; }
}
@media (max-width: 560px) {
  .greek-classes { padding: 80px 0 0; }
  .site-header { width: calc(100% - 28px); min-height: 82px; }
  .brand small, .site-header > .button { display: none; }
  .brand img { width: 48px; height: 48px; }
  .hero { width: calc(100% - 18px); min-height: auto; padding: 52px 20px 42px; border-radius: 26px; gap: 34px; }
  h1 { font-size: 48px; }
  .hero-text { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .trust-row { flex-wrap: wrap; margin-top: 36px; }
  .hero-visual { min-height: 360px; width: 100%; }
  .logo-card { width: 78%; border-radius: 38px; }
  .card-top { top: 18px; right: -10px; }
  .card-bottom { left: -10px; bottom: 18px; }
  .floating-card { padding: 10px 12px; }
  .intro { padding: 86px 0 78px; }
  .offers { padding: 80px 18px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 330px; padding: 28px; }
  .events { padding: 84px 0; }
  .event-list article { grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; }
  .membership { width: calc(100% - 18px); padding: 60px 22px; border-radius: 26px; }
  .membership-art { min-height: 330px; margin: 0; }
  .membership-logo { width: min(330px, 92%); }
  .social-section { width: calc(100% - 24px); padding-top: 84px; }
  .social-grid { margin-top: 34px; }
  .social-card { min-height: 190px; padding: 24px 20px; grid-template-columns: auto 1fr; gap: 16px; border-radius: 24px; }
  .social-icon { width: 60px; height: 60px; border-radius: 18px; }
  .social-arrow { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; }
  .social-card-copy { padding-top: 44px; }
  .facebook-icon { font-size: 54px; }
  .contact { padding: 84px 0; }
  .contact-card { padding: 28px; }
  footer { padding-top: 56px; }
  .footer-bottom { flex-direction: column; }
  .subpage-header { min-height: 82px; }
  .back-link { font-size: 12px; }
  .subpage-hero { width: calc(100% - 18px); padding: 54px 22px; border-radius: 26px; }
  .subpage-hero h1 { font-size: 46px; }
  .subpage-hero > p:not(.section-kicker) { font-size: 15px; }
  .form-page-grid { width: calc(100% - 24px); margin-top: 42px; }
  .membership-form { padding: 24px 18px; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row .button { width: 100%; }
  .legal-content { width: calc(100% - 24px); margin-top: 42px; padding: 26px 20px; border-radius: 22px; }
  .whatsapp-contact { right: 14px; bottom: 14px; }
  .whatsapp-toggle { min-width: 58px; min-height: 58px; padding: 0; justify-content: center; }
  .whatsapp-toggle > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.filia-chat-mascot { position: relative; }
.filia-chat-greeting { position: absolute; bottom: 100%; left: 0; width: min(330px, calc(100vw - 42px)); padding: 18px 42px 18px 18px; border: 2px solid var(--blue-dark); border-radius: 24px 24px 24px 8px; background: white; color: var(--ink); box-shadow: 0 8px 24px #14253d25; font-size: 14px; line-height: 1.45; z-index: 1; animation: filia-bubble-in .45s ease-out both; }
.filia-chat-greeting p { margin: 0 0 10px; }
.filia-chat-greeting strong { display: block; margin-bottom: 7px; color: var(--blue-dark); font-size: 17px; line-height: 1.25; }
.filia-chat-greeting a { display: inline-block; color: var(--blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.filia-chat-greeting > button { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: transparent; color: var(--muted); font-size: 23px; line-height: 1; cursor: pointer; }
.filia-chat-greeting::after { content: ""; position: absolute; bottom: -8px; left: 42px; width: 13px; height: 13px; background: white; border-right: 2px solid var(--blue-dark); border-bottom: 2px solid var(--blue-dark); transform: rotate(45deg); }
@keyframes filia-bubble-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .filia-chat-greeting { animation: none; } }

body.admin-bar .site-header{top:32px}.filia-membership{max-width:850px;margin:50px auto;padding:35px}.filia-membership p{line-height:1.7}.filia-membership .button{margin-top:20px}