/* ==========================================================================
   SocialCo.gr - Design System & Editorial Civic Architecture (Google Stitch)
   Theme: Sunlit Mediterranean Civic-Editorial (Light Mode Locked)
   Brand Accent: Cooperative Emerald (#0d6e5b)
   ========================================================================== */

/* 1. SELF-HOSTED FONTS (Zero External Font CDNs) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/_site/fonts/5c24582fff5d3c39.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/_site/fonts/97fbf7bd0b4579e6.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/_site/fonts/fd12facad81d920d.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. DESIGN TOKENS */
:root {
  color-scheme: light;
  --bg-canvas: #f8f9f7;
  --bg-surface: #f1f4f0;
  --bg-card: #fcfdfc;
  --bg-elevated: #e9efe9;
  --ink-primary: #111c18;
  --ink-secondary: #3b4b45;
  --ink-muted: #52635c;
  --brand: #0d6e5b;
  --brand-strong: #095244;
  --brand-deep: #063b31;
  --brand-tint: #e4f2ee;
  --brand-border: rgba(13, 110, 91, 0.24);
  --border-subtle: rgba(17, 28, 24, 0.11);
  --border-strong: rgba(17, 28, 24, 0.18);
  --shadow-card: 0 1px 2px rgba(17, 28, 24, 0.04);
  --shadow-elevated: 0 20px 44px -12px rgba(17, 28, 24, 0.12), 0 4px 12px -2px rgba(17, 28, 24, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --font-display: 'Outfit', 'Roboto', system-ui, -apple-system, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* 3. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-primary);
  background-color: var(--bg-canvas);
  overflow-x: hidden;
  padding-bottom: 82px; /* clearance for sticky radio bar */
  -webkit-font-smoothing: antialiased;
}

/* Let grid/flex children shrink below their content on narrow screens
   (long words, e-mails, URLs and tables otherwise push the page wider than the viewport). */
body { overflow-wrap: break-word; }
[class*="-grid"] > *,
[class*="-split"] > *,
[class*="-layout"] > *,
[class*="-shell"] > *,
.detail-body,
.sidebar,
.widget {
  min-width: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--brand-deep);
}

ul, ol {
  list-style-position: inside;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.tabular, .counter-number, .stat-value, .calc-out, .reg-num, time, .price-val {
  font-variant-numeric: tabular-nums;
}

/* Skip to content */
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--brand-strong);
  color: #fcfdfc;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* 4. HEADER & SINGLE-LINE NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(248, 249, 247, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.22s ease, background-color 0.22s ease;
}

.site-header.scrolled {
  background-color: rgba(252, 253, 252, 0.98);
  box-shadow: 0 8px 24px -8px rgba(17, 28, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

#nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-surface);
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.72rem;
  color: var(--ink-primary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background-color: var(--brand-tint);
  color: var(--brand-deep);
}

.nav-menu > li.nav-cta > a {
  background-color: var(--brand);
  color: #fcfdfc;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  margin-left: 0.35rem;
}

.nav-menu > li.nav-cta > a:hover {
  background-color: var(--brand-strong);
  color: #fcfdfc;
  transform: translateY(-1px);
}

/* Dropdown menu */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1100;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: var(--ink-primary);
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.sub-menu li a:hover {
  background: var(--brand-tint);
  color: var(--brand-deep);
}

/* 5. BUTTONS & CONTROLS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.82rem 1.45rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--brand);
  color: #fcfdfc;
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #fcfdfc;
}

.btn-outline {
  background-color: var(--bg-card);
  color: var(--brand-strong);
  border-color: var(--brand-strong);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--brand-tint);
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  min-height: 38px;
}

/* 6. DOUBLE-BEZEL (DOPPELRAND) ARCHITECTURE */
.doppel-shell {
  background-color: rgba(13, 110, 91, 0.055);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  border-radius: var(--radius-xl);
}

.doppel-core {
  background-color: var(--bg-card);
  border: 1px solid rgba(17, 28, 24, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-card);
  height: 100%;
}

/* 7. HERO SECTION (Asymmetric 2-Column Split, min-h-100dvh, pt <= 6rem) */
.hero {
  min-height: calc(100dvh - 72px);
  padding-top: clamp(2rem, 4.5vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 85% 15%, rgba(13, 110, 91, 0.08), transparent 48%), var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .eyebrow {
  background-color: var(--brand-tint);
  color: var(--brand-deep);
  border: 1px solid var(--brand-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.hero-title {
  font-size: clamp(2.15rem, 3.9vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  max-width: 19ch;
}

.hero-desc {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-media-frame {
  background-color: rgba(13, 110, 91, 0.07);
  border: 1px solid var(--border-subtle);
  padding: 7px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-surface);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-live-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hero-stat-pill {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}

.hero-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-tint);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-stat-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-primary);
}

.hero-stat-text span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* 8. SECTIONS & HEADERS */
.section-padding {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-surface {
  background-color: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.section-header-stack {
  max-width: 65ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-header-stack h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-header-stack p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

/* 9. INSTITUTIONAL METRICS BAR */
.metrics-bar {
  padding-block: 2.25rem;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-item {
  padding: 0.25rem 1.5rem;
  border-left: 1px solid var(--border-strong);
}

.metric-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--brand-strong);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* 10. GAPLESS BENTO GRID (6-Cell Ecosystem Architecture) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1.25rem;
}

.bento-cell {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}

.bento-cell.span-8 {
  grid-column: span 8;
}

.bento-cell.span-6 {
  grid-column: span 6;
}

.bento-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
}

.bento-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.bento-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.bento-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.bento-badge i {
  color: var(--brand);
}

.bento-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.bento-desc {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.bento-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.bento-list li i {
  color: var(--brand);
  margin-top: 0.25rem;
}

/* 11. COMPLIANCE & PROFIT DISTRIBUTION CALCULATOR (Art. 21 & Art. 14 Law 4430/2016) */
.calc-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-primary);
  background-color: var(--bg-canvas);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 110, 91, 0.18);
  background-color: var(--bg-card);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.calc-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.calc-box-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-deep);
  text-transform: uppercase;
}

.calc-box-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin-block: 0.25rem;
}

.calc-box-label {
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.compliance-status-box {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-tint);
  border: 1px solid var(--brand-border);
  color: var(--brand-deep);
  font-size: 0.9rem;
}

.compliance-status-box.warn {
  background-color: #fef3c7;
  border-color: #f59e0b;
  color: #78350f;
}

/* Static Crawlable Regulatory Table */
.reg-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.reg-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.reg-table th,
.reg-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.reg-table th {
  background-color: var(--bg-surface);
  font-weight: 700;
  color: var(--ink-primary);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.reg-table tr:last-child td {
  border-bottom: none;
}

/* 12. PANHELLENIC KOINSEP DIRECTORY & INTERACTIVE GREECE MAP */
.directory-controls {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  align-items: end;
}

.directory-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.map-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}

.greece-svg-map {
  width: 100%;
  height: auto;
  max-height: 430px;
  background: linear-gradient(180deg, #e6f1ee 0%, #f1f6f4 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: block;
}

.map-pin-group {
  cursor: pointer;
  transition: transform 0.18s ease;
}

.map-pin-circle {
  fill: var(--brand);
  stroke: #fcfdfc;
  stroke-width: 2.5px;
  transition: fill 0.18s ease, r 0.18s ease;
}

.map-pin-group:hover .map-pin-circle,
.map-pin-group.active .map-pin-circle {
  fill: var(--brand-deep);
}

.map-pin-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  fill: var(--ink-primary);
}

.directory-list {
  display: grid;
  gap: 0.75rem;
}

.coop-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.coop-card h3 {
  font-size: 1.05rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.coop-verified {
  color: var(--brand);
  font-size: 0.95rem;
}

.coop-legal-name {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.1rem;
}

.coop-purpose {
  color: var(--ink-secondary);
  font-size: 0.9rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.coop-card.expanded .coop-purpose {
  display: block;
  -webkit-line-clamp: unset;
}

.coop-more {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-strong);
  cursor: pointer;
  align-self: flex-start;
}

.coop-more:hover {
  text-decoration: underline;
}

.coop-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.coop-ids span b {
  font-weight: 600;
  color: var(--ink-secondary);
}

.coop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-strong);
  background: none;
  border: 0;
  padding: 0.35rem 0;
  font-family: inherit;
  cursor: pointer;
}

.coop-link:hover {
  text-decoration: underline;
}

.coop-card:hover {
  border-color: var(--brand);
}

.coop-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.coop-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand-tint);
  color: var(--brand-deep);
}

.coop-badge.verified {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid rgba(6, 95, 70, 0.25);
}

.coop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.coop-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.15rem;
}

/* 13. WIZARD ΔΩΡΕΑΝ ΣΤΑΤΙΚΗΣ ΙΣΤΟΣΕΛΙΔΑΣ (onoma.socialco.gr) */
.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.wizard-steps-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.wizard-step-tab {
  flex: 1;
  min-width: 120px;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--ink-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.wizard-step-tab.active {
  background-color: var(--brand);
  color: #fcfdfc;
  border-color: var(--brand);
}

.subdomain-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-canvas);
}

.subdomain-input-wrap input {
  border: none;
  flex: 1;
  min-width: 0;
  padding: 0.72rem 0.9rem;
  font-size: 0.95rem;
  background: transparent;
  color: var(--ink-primary);
}

.subdomain-input-wrap input:focus {
  outline: none;
}

.subdomain-suffix {
  background-color: var(--brand-tint);
  color: var(--brand-deep);
  padding: 0.72rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--brand-border);
}

.wizard-preview-shell {
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.wizard-browser-bar {
  background-color: var(--bg-surface);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wizard-url-pill {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-deep);
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-preview-body {
  padding: 1.75rem;
  background-color: var(--bg-card);
}

/* Multistep Wizard Progress Bar & Step Panes */
.wizard-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.wizard-stepper.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

.wizard-step-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-step-tab .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink-secondary);
}

.wizard-step-tab.active {
  background-color: var(--brand-tint);
  border-color: var(--brand-primary);
  color: var(--brand-deep);
}

.wizard-step-tab.active .step-num,
.wizard-step-tab.completed .step-num {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
}

.wizard-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 640px) {
  .wizard-stepper,
  .wizard-stepper.steps-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wizard-stepper .wizard-step-tab {
    min-width: 0;
  }
  /* Long button labels wrap instead of pushing the page wider than the screen */
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

.wizard-preview-hero {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--brand-tint);
  border: 1px solid var(--brand-border);
  margin-bottom: 1.25rem;
}

.wizard-preview-hero[data-theme="ocean"] {
  background-color: #e0f2fe;
  border-color: #7dd3fc;
}

.wizard-preview-hero[data-theme="terracotta"] {
  background-color: #fef3c7;
  border-color: #fcd34d;
}

/* 14. EDITORIAL NEWSROOM & SPOTLIGHTS */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.article-feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.article-feature-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.article-feature-body {
  padding: 1.75rem;
}

.article-stack {
  display: grid;
  gap: 1.15rem;
}

.article-row-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.1rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.article-row-card img {
  width: 130px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.article-cat {
  background-color: var(--brand-tint);
  color: var(--brand-deep);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* 15. WEB RADIO STUDIO & PERSISTENT STICKY PLAYER */
.radio-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.radio-embed-frame {
  width: 100%;
  height: 380px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
}

.schedule-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.schedule-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-radio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: rgba(252, 253, 252, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -6px 24px rgba(17, 28, 24, 0.08);
  padding-block: 0.45rem;
}

.sticky-radio-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.radio-now-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.radio-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(13, 110, 91, 0.2);
  flex-shrink: 0;
}

.radio-channel-pills {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.channel-pill {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.channel-pill.active {
  background-color: var(--brand);
  color: #fcfdfc;
  border-color: var(--brand);
}

/* 16. ACCORDION FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 920px;
}

.accordion {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.accordion-header:hover {
  background-color: var(--bg-surface);
}

.accordion-body {
  display: none;
  padding: 0 1.4rem 1.25rem;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.accordion.active .accordion-body {
  display: block;
}

/* 17. CONTACT SECTION & DETAIL PAGES */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 1.25rem;
  margin-block: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--brand-tint);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-form-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-elevated);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  accent-color: var(--brand);
  flex-shrink: 0;
}

/* Interior Page Cover & Detail Layout */
.page-cover {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}

.page-cover-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.detail-body {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-card);
}

.detail-body h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.detail-body h2:first-child {
  margin-top: 0;
}

.detail-body h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.detail-body p,
.detail-body ul,
.detail-body ol {
  margin-bottom: 1rem;
  color: var(--ink-secondary);
  max-width: 68ch;
}

.detail-body li {
  margin-bottom: 0.45rem;
}

.sidebar .widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.widget-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.widget ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

/* 18. FOOTER */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-strong);
  padding-top: 3.5rem;
  color: var(--ink-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding-bottom: 2.75rem;
}

.footer-heading,
.footer-widget h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--ink-primary);
}

.footer-widget p {
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.footer-about > p:first-of-type {
  max-width: 40ch;
}

.footer-contact,
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.footer-contact {
  margin-block: 0.9rem;
}

.footer-contact li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.footer-contact i {
  width: 1rem;
  color: var(--brand);
  text-align: center;
}

.footer-sep {
  color: var(--ink-muted);
}

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

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.1rem;
}

.footer-widget p.footer-ids {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

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

/* 19. MODALS */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background-color: rgba(17, 28, 24, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-elevated);
}

.modal-icon {
  font-size: 2.75rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.modal-text {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* 20. RESPONSIVE COLLAPSE (< 1100px & < 768px) */
@media (max-width: 1100px) {
  #nav-toggle {
    display: inline-flex;
  }
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: var(--shadow-elevated);
    display: none;
    padding: 1rem;
  }
  .main-navigation.active,
  .nav-menu.active {
    display: block;
  }
  .site-header:has(.nav-menu.active) .main-navigation {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .nav-menu > li > a {
    width: 100%;
    padding: 0.7rem 0.9rem;
  }
  .nav-menu > li.nav-cta > a {
    margin-left: 0;
    margin-top: 0.35rem;
    justify-content: center;
  }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: transparent;
  }
  .hero-grid,
  .calc-layout,
  .directory-split,
  .wizard-grid,
  .editorial-grid,
  .radio-split,
  .contact-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .map-panel {
    position: static;
  }
  .bento-cell,
  .bento-cell.span-8,
  .bento-cell.span-6 {
    grid-column: span 12;
  }
  .metrics-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .directory-controls {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-live-strip,
  .metrics-grid,
  .bento-split,
  .calc-form-grid,
  .calc-results-grid,
  .directory-controls,
  .form-group-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-row-card {
    grid-template-columns: 1fr;
  }
  .article-row-card img {
    width: 100%;
    height: 160px;
  }
  .sticky-radio-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  body {
    padding-bottom: 130px;
  }
}

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

/* 21. COOKIE CONSENT BANNER & SETTINGS MODAL (Adapted from bizradio.gr)
   ========================================================================== */
.cookie-banner-glass {
  position: fixed;
  bottom: 84px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .cookie-banner-glass {
    left: auto;
    right: 24px;
    max-width: 480px;
  }
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0;
}

.cookie-text a {
  color: var(--brand-strong);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.cookie-btn-accept {
  background: var(--brand-strong);
  color: #ffffff;
  border: 1px solid var(--brand-strong);
  min-width: 140px;
  padding: 10px 18px;
  text-align: center;
}

.cookie-btn-reject {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-primary);
  min-width: 140px;
  padding: 10px 18px;
  text-align: center;
}

.cookie-btn-settings {
  background: transparent;
  color: var(--ink-secondary);
  border: none;
  padding-inline: 8px;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  background: var(--brand-deep);
  box-shadow: 0 6px 16px rgba(13, 110, 91, 0.25);
}

.cookie-btn-reject:hover {
  background: var(--brand-tint);
  border-color: var(--brand);
}

.cookie-btn-settings:hover {
  color: var(--brand-strong);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-card {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  animation: modalScaleCookie 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 20px;
}

.cookie-option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-option-info h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--ink-primary);
  font-weight: 600;
}

.cookie-option-info p {
  font-size: 0.75rem;
  color: var(--ink-secondary);
  line-height: 1.4;
  margin: 0;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsla(220, 15%, 80%, 1);
  transition: .3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:checked + .cookie-slider {
  background-color: var(--brand);
}

input:checked + .cookie-slider:before {
  transform: translateX(20px);
}

input:disabled + .cookie-slider {
  opacity: 0.4;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

@keyframes slideUpCookie {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes modalScaleCookie {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .cookie-banner-glass {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px;
    border-radius: 12px;
  }
  .cookie-banner-content {
    gap: 12px;
  }
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cookie-btn {
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  .cookie-modal-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .cookie-modal-card h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }
  .cookie-option {
    gap: 12px;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-modal-actions .cookie-btn {
    width: 100%;
  }
}

/* 19. ENHANCED PANHELLENIC KOINSEP DIRECTORY, GEOLOCATION MAP & LIVE FORM LOOKUP */
.directory-controls.dir-controls-extended {
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
}

.map-entity-dot {
  fill: #0d6e5b;
  fill-opacity: 0.55;
  stroke: #ffffff;
  stroke-width: 0.7px;
  cursor: pointer;
  transition: r 0.15s ease, fill 0.15s ease, fill-opacity 0.15s ease;
}

.map-entity-dot.verified {
  fill: #065f46;
  fill-opacity: 0.78;
}

.map-entity-dot:hover,
.map-entity-dot.selected {
  fill: #d97706;
  fill-opacity: 1;
  stroke: #ffffff;
  stroke-width: 1.8px;
}

.map-pin-count {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  fill: #ffffff;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.map-inspector-card {
  margin-top: 0.95rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-tint);
  border: 1.5px solid var(--brand);
  font-size: 0.86rem;
  display: none;
}

.map-inspector-card.active {
  display: block;
}

.dir-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-top: 0.5rem;
}

.dir-page-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.dir-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dir-page-btn:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.dir-page-btn.active {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.dir-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Live KOINSEP Registry Autocomplete Widget inside Forms */
.koinsep-lookup-box {
  position: relative;
  padding: 1rem 1.15rem;
  margin-bottom: 1.15rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-tint);
  border: 1.5px solid var(--brand-border);
}

.koinsep-lookup-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 60;
  max-height: 310px;
  overflow-y: auto;
  background-color: var(--bg-card);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  display: none;
}

.koinsep-lookup-results.active {
  display: block;
}

.koinsep-lookup-item {
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.95rem;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-body);
  transition: background-color 0.14s ease;
}

.koinsep-lookup-item:last-child {
  border-bottom: 0;
}

.koinsep-lookup-item:hover,
.koinsep-lookup-item:focus {
  background-color: var(--brand-tint);
  outline: none;
}

.koinsep-lookup-item strong {
  font-size: 0.9rem;
  color: var(--ink-primary);
}

.koinsep-lookup-item span {
  font-size: 0.78rem;
  color: var(--ink-secondary);
}

.coop-card.highlighted-coop {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22);
}

/* Text + CTA column pair (Νέα: Αγόρασε Κοινωνικά) */
.cta-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .cta-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

/* Footer newsletter band (wav-newsletter widget, brand "socialco") */
.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.25rem 2.5rem;
  align-items: start;
  padding-bottom: 2.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-newsletter .footer-heading {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.footer-newsletter p {
  font-size: 0.9rem;
  margin: 0;
  max-width: 52ch;
}
.footer-newsletter-form {
  --wav-accent: var(--brand);
  --wav-accent-text: #ffffff;
  --wav-radius: var(--radius-md);
  --wav-ok: var(--brand-strong);
  --wav-error: #b91c1c;
  color: var(--ink-primary);
}
.footer-newsletter-form .wav-nl {
  max-width: none;
}
.footer-newsletter-form .wav-nl input:not([type=checkbox]) {
  background-color: var(--bg-card);
  min-height: 44px;
}
.footer-newsletter-form .wav-nl button {
  min-height: 44px;
}
.footer-newsletter-form .wav-consent {
  color: var(--ink-secondary);
}
.newsletter-optin {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin-bottom: 0.9rem;
  cursor: pointer;
}
.newsletter-optin input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--brand);
}
@media (max-width: 768px) {
  .footer-newsletter {
    grid-template-columns: minmax(0, 1fr);
  }
}
