
/*
Theme Name: MCG Ocean V55
Author: OpenAI
Description: Standalone structured theme for Marine Conservation Greece
Version: 55.0
Text Domain: mcg-ocean-structured
*/

:root{
  --mcg-blue:#3FA7C9;
  --mcg-deep:#2B7A8A;
  --mcg-green:#5B6B3A;
  --mcg-brown:#4A3A12;
  --mcg-sand:#F6F7F4;
  --mcg-text:#17323A;
  --mcg-muted:#61757c;
  --mcg-border:rgba(23,50,58,.12);
  --mcg-shadow:0 18px 42px rgba(18,48,58,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--mcg-text);background:#fff;line-height:1.65}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--mcg-border)}
.header-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand img{width:58px;height:58px;object-fit:cover;border-radius:16px;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.brand-title{font-size:18px;font-weight:800;line-height:1.1}
.brand-sub{font-size:12px;color:var(--mcg-muted);margin-top:3px}
.nav-links{display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.nav-links a{font-size:14px;color:var(--mcg-text)}
.nav-links .nav-cta{padding:11px 18px;border-radius:999px;background:var(--mcg-blue);color:#fff;font-weight:700}
.hero-image-only{height:68vh;min-height:420px;background:url('assets/img/hero-sea.jpg') center/cover no-repeat;position:relative}
.hero-image-only:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(4,44,59,.14), rgba(6,50,64,.18))}
.section{padding:80px 0}
.section.alt{background:var(--mcg-sand)}
.section-title{font-size:clamp(30px,4vw,50px);line-height:1.05;margin:0 0 14px}
.section-lead{max-width:880px;font-size:18px;color:var(--mcg-muted);margin:0 0 28px}
.card-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--mcg-shadow);padding:28px}
.card h3{margin:0 0 10px;font-size:24px}
.card p{margin:0;color:var(--mcg-muted)}
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.pillar{background:#fff;box-shadow:var(--mcg-shadow);border-radius:24px;padding:24px}
.pillar .icon{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:rgba(63,167,201,.12);font-size:28px;color:var(--mcg-deep);margin-bottom:16px}
.pillar h3{font-size:21px;margin:0 0 8px}
.pillar p{margin:0;color:var(--mcg-muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:999px;font-weight:700;transition:.2s ease}
.btn-primary{background:var(--mcg-blue);color:#fff}
.btn-primary:hover{background:var(--mcg-deep)}
.btn-outline{background:#fff;border:1px solid var(--mcg-border)}
.kicker{display:inline-block;background:rgba(63,167,201,.10);color:var(--mcg-deep);padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
.media img{border-radius:30px;box-shadow:var(--mcg-shadow)}
.tick-list{display:grid;gap:14px;margin-top:24px}
.tick{background:#fff;border-left:4px solid var(--mcg-blue);border-radius:18px;padding:18px 20px;box-shadow:var(--mcg-shadow)}
.tick strong{display:block;margin-bottom:4px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:26px}
.stat{background:#fff;border-radius:22px;padding:24px;text-align:center;box-shadow:var(--mcg-shadow)}
.stat strong{display:block;font-size:36px;line-height:1;color:var(--mcg-deep);margin-bottom:6px}
.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.profile-card{background:#fff;border-radius:26px;overflow:hidden;box-shadow:var(--mcg-shadow)}
.profile-card img{width:100%;height:330px;object-fit:cover}
.profile-content{padding:22px 24px 26px}
.profile-content h3{margin:0 0 10px;font-size:24px}
.profile-content p{margin:0;color:var(--mcg-muted)}
.project-card{padding:0;overflow:hidden}
.project-card img{width:100%;height:230px;object-fit:cover}
.project-card .content{padding:22px 24px 26px}
.big-list{display:grid;gap:18px}
.big-item{background:#fff;box-shadow:var(--mcg-shadow);border-radius:24px;padding:24px}
.big-item h3{margin:0 0 10px;font-size:26px}
.big-item h4{margin:18px 0 8px;font-size:19px;color:var(--mcg-deep)}
.big-item ul{margin:10px 0 0;padding-left:18px}
.big-item li{margin:8px 0;color:var(--mcg-muted)}
.pub-list{display:grid;gap:16px}
.pub-item{background:#fff;border-radius:22px;box-shadow:var(--mcg-shadow);padding:22px}
.pub-item strong{display:block;margin-bottom:8px}
.cta-box{border-radius:32px;color:#fff;overflow:hidden;background:linear-gradient(135deg, rgba(43,122,138,.92), rgba(63,167,201,.92)), url('assets/img/remedies.jpg') center/cover no-repeat;box-shadow:var(--mcg-shadow)}
.cta-inner{padding:42px 36px}
.cta-inner h2{font-size:clamp(30px,4vw,48px);line-height:1.05;margin:0 0 12px}
.cta-inner p{font-size:18px;max-width:760px;margin:0 0 18px;color:rgba(255,255,255,.95)}
.site-footer{padding:30px 0 40px;border-top:1px solid var(--mcg-border)}
.footer-grid{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:start}
.footer-note{font-size:14px;color:var(--mcg-muted)}
.page-hero{padding:56px 0 10px}
.content-area{padding:20px 0 80px}
.rich-text p{margin:0 0 16px;color:var(--mcg-muted)}
.rich-text ul{padding-left:18px}
.rich-text li{margin:8px 0;color:var(--mcg-muted)}
@media (max-width:1024px){
  .pillars,.card-grid-3,.profile-grid,.stat-grid{grid-template-columns:repeat(2,1fr)}
  .card-grid-2,.split,.footer-grid{grid-template-columns:1fr}
}
@media (max-width:680px){
  .header-inner{flex-direction:column;align-items:flex-start}
  .nav-links{justify-content:flex-start}
  .pillars,.card-grid-3,.profile-grid,.stat-grid{grid-template-columns:1fr}
  .section{padding:62px 0}
  .card,.pillar{padding:22px}
  .cta-inner{padding:30px 22px}
}


/* --- Version 6 EU Research refinements --- */
.hero-image-only{
  height:72vh;
  min-height:500px;
  background-position:center center;
  background-size:cover;
}
.hero-image-only:after{
  background:linear-gradient(180deg, rgba(4,44,59,.06), rgba(6,50,64,.12));
}
.section-title{
  letter-spacing:-0.02em;
}
.section-lead{
  max-width:900px;
}
.home-intro{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:34px;
  align-items:center;
}
.home-intro .visual img{
  border-radius:28px;
  box-shadow:var(--mcg-shadow);
}
.home-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:20px;
}
.research-badge{
  display:inline-block;
  background:rgba(43,122,138,.10);
  color:var(--mcg-deep);
  padding:10px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.eu-focus-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:28px;
}
.eu-focus{
  background:#fff;
  border-radius:22px;
  box-shadow:var(--mcg-shadow);
  padding:22px;
  border-top:4px solid var(--mcg-blue);
}
.eu-focus h3{
  margin:0 0 8px;
  font-size:20px;
}
.eu-focus p{
  margin:0;
  color:var(--mcg-muted);
}
.demo-highlight{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.demo-highlight .item{
  background:#fff;
  border-radius:26px;
  box-shadow:var(--mcg-shadow);
  overflow:hidden;
}
.demo-highlight .item img{
  width:100%;
  height:240px;
  object-fit:cover;
}
.demo-highlight .item .inner{
  padding:22px 24px 24px;
}
.demo-highlight .item h3{
  margin:0 0 10px;
  font-size:24px;
}
.demo-highlight .item p{
  margin:0;
  color:var(--mcg-muted);
}
.page-hero{
  padding:64px 0 18px;
}
.page-hero .section-title{
  max-width:900px;
}
.content-area{
  padding-top:26px;
}
.big-item p,
.big-item li,
.pub-item{
  font-size:17px;
}
.profile-content h3{
  font-size:26px;
}
.profile-content p{
  font-size:16px;
}
@media (max-width:1024px){
  .home-intro,
  .eu-focus-grid,
  .demo-highlight{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:680px){
  .home-intro,
  .eu-focus-grid,
  .demo-highlight{
    grid-template-columns:1fr;
  }
}


/* --- Version 7 refinements --- */
.hero-image-only{
  height:76vh;
  min-height:560px;
  position:relative;
  background:url('assets/img/hero-sea.jpg') center/cover no-repeat;
}
.hero-image-only:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,25,35,.08), rgba(0,40,55,.14));
}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:2;
}
.hero-overlay .wrap{
  height:100%;
  display:grid;
  grid-template-columns:1fr 340px;
  align-items:end;
  padding-bottom:48px;
}
.hero-logo{
  justify-self:end;
  width:280px;
  max-width:34vw;
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(6px);
  padding:14px;
  border-radius:26px;
  box-shadow:var(--mcg-shadow);
}
.hero-logo img{
  width:100%;
  border-radius:18px;
}
.profile-card{
  border-top:4px solid var(--mcg-blue);
}
.profile-meta{
  display:inline-block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--mcg-deep);
  margin-bottom:10px;
}
.demo-section{
  display:grid;
  gap:22px;
}
.demo-rich{
  background:#fff;
  border-radius:28px;
  box-shadow:var(--mcg-shadow);
  overflow:hidden;
}
.demo-rich img{
  width:100%;
  height:280px;
  object-fit:cover;
}
.demo-rich .inner{
  padding:26px 28px 30px;
}
.demo-rich h2{
  margin:0 0 10px;
  font-size:30px;
}
.demo-rich h3{
  margin:18px 0 8px;
  font-size:22px;
  color:var(--mcg-deep);
}
.demo-rich p,
.demo-rich li{
  color:var(--mcg-muted);
  font-size:17px;
}
.demo-rich ul{
  padding-left:18px;
  margin:10px 0 0;
}
.project-card{
  border-top:4px solid var(--mcg-blue);
}
.project-card .content h3{
  font-size:28px;
}
.project-tag{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(63,167,201,.10);
  color:var(--mcg-deep);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.project-bullets{
  padding-left:18px;
  margin:12px 0 0;
}
.project-bullets li{
  margin:8px 0;
  color:var(--mcg-muted);
}
@media (max-width: 820px){
  .hero-overlay .wrap{
    grid-template-columns:1fr;
    align-items:end;
  }
  .hero-logo{
    justify-self:start;
    width:220px;
    margin-top:18px;
  }
}


/* --- Version 9 refinements --- */
.hero-image-only{
  height:76vh;
  min-height:560px;
  background:url('assets/img/hero-sea.jpg') center/cover no-repeat;
}
.hero-image-only:after{
  background:linear-gradient(180deg, rgba(5,36,45,.05), rgba(5,36,45,.14));
}
.expertise-lab-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.expertise-lab-card{
  background:#fff;
  border-radius:26px;
  box-shadow:var(--mcg-shadow);
  padding:28px;
  border-top:4px solid var(--mcg-blue);
}
.expertise-icon{
  width:64px;
  height:64px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(63,167,201,.12);
  color:var(--mcg-deep);
  font-size:30px;
  margin-bottom:16px;
}
.expertise-lab-card h3{
  margin:0 0 10px;
  font-size:24px;
}
.expertise-lab-card p{
  margin:0;
  color:var(--mcg-muted);
  font-size:17px;
}
.pub-scientific{
  display:grid;
  gap:18px;
}
.pub-scientific .pub-item{
  border-left:4px solid var(--mcg-blue);
}
.pub-label{
  display:inline-block;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(63,167,201,.10);
  color:var(--mcg-deep);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.pub-citation{
  color:var(--mcg-text);
  font-size:18px;
  line-height:1.7;
}
.home-preview-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.preview-panel{
  background:#fff;
  border-radius:28px;
  box-shadow:var(--mcg-shadow);
  padding:26px;
}
.preview-panel h3{
  margin:0 0 12px;
  font-size:28px;
}
.preview-panel ul{
  margin:10px 0 0;
  padding-left:18px;
}
.preview-panel li{
  margin:8px 0;
  color:var(--mcg-muted);
}
@media (max-width:1024px){
  .expertise-lab-grid,
  .home-preview-grid{
    grid-template-columns:1fr;
  }
}


/* --- Version 10 refinements --- */
body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.wrap{
  width:min(1160px, calc(100% - 40px));
}
.hero-image-only{
  height:78vh;
  min-height:600px;
  background:url('assets/img/hero-sea.jpg') center center/cover no-repeat;
}
.hero-image-only:after{
  background:linear-gradient(180deg, rgba(7,32,44,.10), rgba(7,32,44,.18));
}
.hero-overlay .wrap{
  grid-template-columns:1fr 300px;
  padding-bottom:42px;
}
.hero-logo{
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.22);
}
.section{
  padding:88px 0;
}
.section-title{
  font-size:clamp(34px,4.6vw,56px);
  line-height:1.02;
  letter-spacing:-0.025em;
  margin-bottom:16px;
}
.section-lead{
  font-size:19px;
  line-height:1.75;
  max-width:920px;
}
.kicker, .research-badge, .project-tag, .pub-label, .profile-meta{
  letter-spacing:.11em;
}
.card,
.preview-panel,
.pub-item,
.expertise-lab-card,
.demo-rich,
.profile-card{
  box-shadow:0 18px 44px rgba(18,48,58,.09);
}
.profile-grid{
  align-items:stretch;
}
.profile-card{
  border-top:4px solid var(--mcg-blue);
}
.profile-card img{
  height:360px;
}
.profile-content{
  padding:24px 26px 28px;
}
.profile-content h3{
  font-size:28px;
  line-height:1.08;
  margin:0 0 10px;
}
.profile-content p{
  font-size:17px;
  line-height:1.75;
}
.bio-points{
  margin-top:14px;
  padding-left:18px;
}
.bio-points li{
  margin:8px 0;
  color:var(--mcg-muted);
}

.demo-section{
  gap:28px;
}
.demo-rich{
  border-top:4px solid var(--mcg-blue);
}
.demo-rich img{
  height:300px;
}
.demo-rich .inner{
  padding:28px 30px 32px;
}
.demo-rich h2{
  font-size:34px;
  line-height:1.05;
}
.demo-rich h3{
  margin:22px 0 10px;
  font-size:24px;
}
.demo-subgrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:20px;
}
.demo-subcard{
  background:var(--mcg-sand);
  border-radius:22px;
  padding:20px 20px 18px;
}
.demo-subcard h4{
  margin:0 0 8px;
  font-size:20px;
  color:var(--mcg-deep);
}
.demo-subcard p{
  margin:0;
  color:var(--mcg-muted);
  font-size:16px;
  line-height:1.7;
}
.project-card .content{
  padding:24px 26px 28px;
}
.project-card .content h3{
  font-size:30px;
  line-height:1.03;
  margin:0 0 10px;
}
.project-card .content p,
.project-card .content li{
  font-size:16px;
  line-height:1.72;
}
.home-preview-grid{
  align-items:start;
}
.preview-panel{
  padding:28px;
}
.preview-panel h3{
  font-size:30px;
  line-height:1.05;
}
.preview-panel li{
  font-size:16px;
  line-height:1.7;
}
.pub-citation{
  font-size:18px;
  line-height:1.85;
}
.footer-note{
  line-height:1.7;
}
@media (max-width: 920px){
  .hero-overlay .wrap{
    grid-template-columns:1fr;
  }
  .hero-logo{
    width:220px;
  }
  .demo-subgrid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 680px){
  .hero-image-only{
    min-height:480px;
    height:62vh;
  }
  .section{
    padding:68px 0;
  }
}


/* --- Version 11 mobile menu and leadership refinements --- */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--mcg-border);
  border-radius:12px;
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after{
  content:"";
  display:block;
  width:20px;
  height:2px;
  background:var(--mcg-text);
  position:relative;
  transition:.2s ease;
}
.nav-toggle span:before{position:absolute;top:-6px;left:0}
.nav-toggle span:after{position:absolute;top:6px;left:0}
.nav-toggle.active span{background:transparent}
.nav-toggle.active span:before{top:0;transform:rotate(45deg)}
.nav-toggle.active span:after{top:0;transform:rotate(-45deg)}

.profile-card img{
  height:340px;
  object-fit:cover;
  object-position:center;
}
.profile-content{
  min-height: 330px;
}

@media (max-width: 920px){
  .site-header{
    position:sticky;
  }
  .header-inner{
    align-items:center;
  }
  .nav-toggle{
    display:inline-flex;
    margin-left:auto;
  }
  .nav-links{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:14px 0 4px;
  }
  .nav-links.open{
    display:flex;
  }
  .nav-links a{
    display:block;
    width:100%;
    padding:10px 0;
  }
}


/* --- Version 13 leadership refinements --- */
.profile-grid{
  align-items:stretch;
}
.profile-card{
  display:flex;
  flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease;
}
.profile-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(18,48,58,.12);
}
.profile-content{
  display:flex;
  flex-direction:column;
  flex:1;
}
.profile-meta{
  min-height:32px;
  line-height:1.45;
}
.profile-content h3{
  min-height:62px;
}
.bio-points{
  margin-top:auto;
}
.profile-card img{
  transition:transform .25s ease;
}
.profile-card:hover img{
  transform:scale(1.02);
}


/* --- Version 14 footer + leadership fixes --- */
.footer-premium{
  display:grid;
  grid-template-columns:1.4fr .8fr .9fr .8fr;
  gap:28px;
  align-items:start;
}
.footer-brand{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.footer-brand img{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(18,48,58,.10);
}
.footer-col h4{
  margin:0 0 12px;
  font-size:16px;
  letter-spacing:.04em;
}
.footer-col a,
.footer-col span{
  display:block;
  margin:8px 0;
  color:var(--mcg-muted);
  line-height:1.65;
}
.footer-col a:hover{
  color:var(--mcg-deep);
}
.site-footer{
  background:linear-gradient(180deg,#f8fbfc 0%, #eef5f7 100%);
  border-top:1px solid var(--mcg-border);
}
@media (max-width: 1024px){
  .footer-premium{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 680px){
  .footer-premium{
    grid-template-columns:1fr;
  }
}


/* --- Version 15 visual polish --- */

.project-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.project-card{
  background:#fff;
  border-radius:26px;
  box-shadow:0 20px 40px rgba(18,48,58,.08);
  transition:transform .2s ease, box-shadow .2s ease;
}

.project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 60px rgba(18,48,58,.12);
}

.project-inner{
  padding:28px;
}

.project-sub{
  font-weight:600;
  margin:6px 0 14px;
  color:var(--mcg-deep);
}

.project-card ul{
  padding-left:18px;
  line-height:1.7;
}

@media (max-width:1024px){
  .project-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:640px){
  .project-grid{
    grid-template-columns:1fr;
  }
}



/* --- Version 16 premium polish --- */
.hero-image-only{
  animation: heroFloat 18s ease-in-out infinite alternate;
}
@keyframes heroFloat{
  0%{background-position:center top;}
  100%{background-position:center 8px;}
}

.logo-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}
.logo-pill{
  background:#fff;
  border:1px solid var(--mcg-border);
  color:var(--mcg-deep);
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  box-shadow:0 12px 28px rgba(18,48,58,.06);
}

.map-impact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  align-items:stretch;
}
.impact-panel,
.map-panel{
  background:#fff;
  border-radius:28px;
  box-shadow:0 18px 44px rgba(18,48,58,.09);
  padding:28px;
}
.impact-panel h3,
.map-panel h3{
  margin:0 0 12px;
  font-size:30px;
  line-height:1.05;
}
.impact-panel ul{
  margin:12px 0 0;
  padding-left:18px;
}
.impact-panel li{
  margin:8px 0;
  color:var(--mcg-muted);
  line-height:1.75;
}
.map-box{
  position:relative;
  min-height:280px;
  border-radius:22px;
  background:linear-gradient(180deg,#f7fbfc,#eef5f7);
  border:1px solid var(--mcg-border);
  overflow:hidden;
}
.map-box:before{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:18px;
  background:
    radial-gradient(circle at 30% 40%, rgba(63,167,201,.18), transparent 22%),
    radial-gradient(circle at 62% 58%, rgba(91,107,58,.14), transparent 18%),
    linear-gradient(135deg, rgba(63,167,201,.06), rgba(43,122,138,.04));
}
.map-dot{
  position:absolute;
  z-index:2;
  padding:8px 12px;
  border-radius:999px;
  color:#fff;
  background:var(--mcg-deep);
  font-weight:700;
  font-size:13px;
  box-shadow:0 10px 24px rgba(18,48,58,.12);
}
.map-dot.mykonos{left:58%; top:46%;}
.map-dot.attica{left:45%; top:58%;}
.map-label{
  position:absolute;
  left:18px;
  right:18px;
  bottom:16px;
  z-index:2;
  color:var(--mcg-muted);
  font-size:15px;
}

.site-header{
  box-shadow:0 6px 18px rgba(18,48,58,.04);
}
.brand-title{
  letter-spacing:-0.01em;
}
.site-footer{
  padding-top:44px;
  padding-bottom:44px;
}

@media (max-width: 920px){
  .map-impact-grid{
    grid-template-columns:1fr;
  }
}


/* --- Version 17 visible animations --- */
.hero-image-only{
  position:relative;
  background-size:cover;
  animation: heroDrift 12s ease-in-out infinite alternate !important;
  will-change: background-position, transform;
}
.hero-image-only::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.16) 0 2px, transparent 3px) 0 0/140px 140px,
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.14) 0 3px, transparent 4px) 0 0/170px 170px,
    radial-gradient(circle at 62% 72%, rgba(255,255,255,.12) 0 2px, transparent 3px) 0 0/120px 120px;
  animation: bubbleDrift 14s linear infinite;
  opacity:.8;
  pointer-events:none;
}
@keyframes heroDrift{
  0%{background-position:center 0px;}
  50%{background-position:center 10px;}
  100%{background-position:center 24px;}
}
@keyframes bubbleDrift{
  0%{transform:translateY(0);}
  100%{transform:translateY(-18px);}
}

.eu-focus{
  animation: pillarBounce 3.4s ease-in-out infinite;
  will-change: transform;
}
.eu-focus:nth-child(2){animation-delay:.18s;}
.eu-focus:nth-child(3){animation-delay:.36s;}
.eu-focus:nth-child(4){animation-delay:.54s;}

@keyframes pillarBounce{
  0%, 100%{transform:translateY(0);}
  20%{transform:translateY(-4px);}
  40%{transform:translateY(0);}
  60%{transform:translateY(-8px);}
  80%{transform:translateY(0);}
}

@media (prefers-reduced-motion: reduce){
  .hero-image-only,
  .hero-image-only::before,
  .eu-focus{
    animation:none !important;
  }
}


/* --- Version 18 wave / bubbles / floating logo --- */
.hero-image-only{
  overflow:hidden;
}
.hero-image-only::after{
  z-index:1;
}
.hero-overlay{
  z-index:3;
}
.hero-overlay .wrap{
  position:relative;
}
.hero-logo{
  animation: logoFloat 4.8s ease-in-out infinite;
  will-change: transform;
}
@keyframes logoFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}

/* Moving bubbles */
.hero-bubbles,
.hero-bubbles:before,
.hero-bubbles:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
.hero-bubbles{
  z-index:2;
  background:
    radial-gradient(circle, rgba(255,255,255,.55) 0 2px, transparent 3px) 12% 82% / 180px 180px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.45) 0 3px, transparent 4px) 22% 72% / 220px 220px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.42) 0 2px, transparent 3px) 68% 86% / 170px 170px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.40) 0 3px, transparent 4px) 84% 74% / 210px 210px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.48) 0 2px, transparent 3px) 90% 90% / 150px 150px no-repeat;
  animation: bubblesRiseA 10s linear infinite;
}
.hero-bubbles:before{
  background:
    radial-gradient(circle, rgba(255,255,255,.35) 0 2px, transparent 3px) 30% 90% / 190px 190px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.38) 0 3px, transparent 4px) 48% 84% / 230px 230px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.30) 0 2px, transparent 3px) 76% 92% / 180px 180px no-repeat;
  animation: bubblesRiseB 13s linear infinite;
}
.hero-bubbles:after{
  background:
    radial-gradient(circle, rgba(255,255,255,.26) 0 2px, transparent 3px) 8% 88% / 160px 160px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.28) 0 3px, transparent 4px) 58% 78% / 210px 210px no-repeat;
  animation: bubblesRiseC 16s linear infinite;
}
@keyframes bubblesRiseA{
  0%{transform:translateY(0);opacity:.25;}
  50%{opacity:.8;}
  100%{transform:translateY(-120px);opacity:.15;}
}
@keyframes bubblesRiseB{
  0%{transform:translateY(0);opacity:.18;}
  50%{opacity:.6;}
  100%{transform:translateY(-155px);opacity:.12;}
}
@keyframes bubblesRiseC{
  0%{transform:translateY(0);opacity:.14;}
  50%{opacity:.45;}
  100%{transform:translateY(-190px);opacity:.08;}
}

/* Moving wave at bottom of hero */
.hero-wave-animated{
  position:absolute;
  left:-8%;
  right:-8%;
  bottom:-1px;
  height:120px;
  z-index:2;
  pointer-events:none;
  opacity:.95;
  animation: waveSlide 9s ease-in-out infinite alternate;
}
.hero-wave-animated svg{
  width:116%;
  height:100%;
  display:block;
  transform:translateX(-2%);
}
@keyframes waveSlide{
  0%{transform:translateX(0);}
  100%{transform:translateX(38px);}
}

@media (prefers-reduced-motion: reduce){
  .hero-logo,
  .hero-bubbles,
  .hero-bubbles:before,
  .hero-bubbles:after,
  .hero-wave-animated{
    animation:none !important;
  }
}


/* --- Version 19 enhanced water / bubbles / footer --- */

/* More realistic water movement */
.hero-image-only{
  animation: heroWaterX 22s ease-in-out infinite alternate, heroWaterY 14s ease-in-out infinite alternate !important;
  background-size: 108% 108%;
  transform: translateZ(0);
}
@keyframes heroWaterX{
  0%{background-position:48% 0%;}
  25%{background-position:50% 1%;}
  50%{background-position:52% 2%;}
  75%{background-position:50% 1%;}
  100%{background-position:48% 3%;}
}
@keyframes heroWaterY{
  0%{filter:saturate(1);}
  50%{filter:saturate(1.03);}
  100%{filter:saturate(1);}
}

/* Stronger bubbles */
.hero-bubbles,
.hero-bubbles:before,
.hero-bubbles:after{
  mix-blend-mode:screen;
}
.hero-bubbles{
  background:
    radial-gradient(circle, rgba(255,255,255,.82) 0 2px, rgba(255,255,255,.18) 3px, transparent 5px) 10% 88% / 130px 130px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.78) 0 3px, rgba(255,255,255,.15) 4px, transparent 6px) 18% 78% / 170px 170px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.72) 0 2px, rgba(255,255,255,.12) 3px, transparent 5px) 66% 90% / 120px 120px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.75) 0 3px, rgba(255,255,255,.16) 4px, transparent 6px) 82% 82% / 150px 150px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.80) 0 2px, rgba(255,255,255,.14) 3px, transparent 5px) 92% 92% / 110px 110px no-repeat;
  animation: bubblesRiseA 8s linear infinite;
}
.hero-bubbles:before{
  background:
    radial-gradient(circle, rgba(255,255,255,.62) 0 2px, rgba(255,255,255,.12) 3px, transparent 5px) 28% 92% / 150px 150px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.66) 0 3px, rgba(255,255,255,.12) 4px, transparent 6px) 46% 88% / 190px 190px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.58) 0 2px, rgba(255,255,255,.10) 3px, transparent 5px) 74% 95% / 145px 145px no-repeat;
  animation: bubblesRiseB 10s linear infinite;
}
.hero-bubbles:after{
  background:
    radial-gradient(circle, rgba(255,255,255,.48) 0 2px, rgba(255,255,255,.08) 3px, transparent 5px) 6% 94% / 120px 120px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.52) 0 3px, rgba(255,255,255,.10) 4px, transparent 6px) 58% 84% / 170px 170px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.42) 0 2px, rgba(255,255,255,.08) 3px, transparent 5px) 88% 86% / 125px 125px no-repeat;
  animation: bubblesRiseC 12s linear infinite;
}
@keyframes bubblesRiseA{
  0%{transform:translateY(0) scale(1);opacity:.35;}
  35%{opacity:.95;}
  100%{transform:translateY(-170px) scale(1.16);opacity:.10;}
}
@keyframes bubblesRiseB{
  0%{transform:translateY(0) scale(1);opacity:.28;}
  45%{opacity:.72;}
  100%{transform:translateY(-220px) scale(1.18);opacity:.08;}
}
@keyframes bubblesRiseC{
  0%{transform:translateY(0) scale(1);opacity:.18;}
  50%{opacity:.52;}
  100%{transform:translateY(-260px) scale(1.22);opacity:.06;}
}

/* More realistic wave motion */
.hero-wave-animated{
  height:132px;
  animation: waveSlide 7.5s ease-in-out infinite alternate;
}
.hero-wave-animated svg{
  width:124%;
  transform:translateX(-4%);
  filter: drop-shadow(0 -8px 14px rgba(255,255,255,.22));
}
@keyframes waveSlide{
  0%{transform:translateX(0);}
  50%{transform:translateX(18px);}
  100%{transform:translateX(42px);}
}

/* Premium animated footer */
.site-footer{
  position:relative;
  overflow:hidden;
}
.site-footer:before{
  content:"";
  position:absolute;
  left:-10%;
  right:-10%;
  top:0;
  height:110px;
  background:
    radial-gradient(120px 38px at 8% 100%, rgba(63,167,201,.18), transparent 70%),
    radial-gradient(150px 42px at 28% 100%, rgba(43,122,138,.16), transparent 70%),
    radial-gradient(130px 36px at 48% 100%, rgba(63,167,201,.14), transparent 70%),
    radial-gradient(160px 44px at 68% 100%, rgba(43,122,138,.16), transparent 70%),
    radial-gradient(130px 36px at 88% 100%, rgba(63,167,201,.14), transparent 70%);
  animation: footerWave 9s ease-in-out infinite alternate;
  pointer-events:none;
  opacity:.95;
}
.site-footer:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle, rgba(255,255,255,.34) 0 2px, transparent 3px) 12% 88% / 160px 160px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.28) 0 2px, transparent 3px) 52% 90% / 180px 180px no-repeat,
    radial-gradient(circle, rgba(255,255,255,.24) 0 2px, transparent 3px) 84% 86% / 150px 150px no-repeat;
  animation: footerBubbles 14s linear infinite;
  pointer-events:none;
  opacity:.45;
}
.footer-premium{
  position:relative;
  z-index:1;
}
@keyframes footerWave{
  0%{transform:translateX(0);}
  100%{transform:translateX(34px);}
}
@keyframes footerBubbles{
  0%{transform:translateY(0);}
  100%{transform:translateY(-24px);}
}

@media (prefers-reduced-motion: reduce){
  .site-footer:before,
  .site-footer:after{
    animation:none !important;
  }
}


/* --- Version 20 premium motion & cards --- */

/* Stronger hero parallax feel */
.hero-image-only{
  background-size:112% 112%;
  animation:
    heroWaterX 20s ease-in-out infinite alternate,
    heroWaterY 12s ease-in-out infinite alternate,
    heroParallaxZoom 18s ease-in-out infinite alternate !important;
}
@keyframes heroParallaxZoom{
  0%{transform:scale(1.00);}
  50%{transform:scale(1.025);}
  100%{transform:scale(1.04);}
}
.hero-overlay{
  transform:translateZ(0);
}
.hero-logo{
  box-shadow:0 24px 46px rgba(15,41,51,.18);
  border:1px solid rgba(255,255,255,.28);
}

/* Premium project cards */
.project-grid{
  gap:30px;
}
.project-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(63,167,201,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(247,251,252,1));
}
.project-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg, var(--mcg-blue), var(--mcg-deep));
}
.project-card:after{
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width:140px;
  height:140px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(63,167,201,.12), transparent 70%);
  pointer-events:none;
}
.project-inner{
  padding:30px;
}
.project-card:hover{
  transform:translateY(-8px);
  box-shadow:0 34px 64px rgba(18,48,58,.14);
}
.project-tag{
  box-shadow:inset 0 0 0 1px rgba(63,167,201,.10);
}
.project-sub{
  font-size:17px;
  letter-spacing:-0.01em;
}
.project-card ul{
  margin:14px 0 0;
}
.project-card li::marker{
  color:var(--mcg-blue);
}

/* Elegant menu animation */
.nav-links a{
  position:relative;
  transition:color .22s ease, transform .22s ease, opacity .22s ease;
}
.nav-links a:after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:100%;
  height:2px;
  background:linear-gradient(90deg, var(--mcg-blue), var(--mcg-deep));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .24s ease;
}
.nav-links a:hover{
  color:var(--mcg-deep);
  transform:translateY(-1px);
}
.nav-links a:hover:after{
  transform:scaleX(1);
}
.nav-links.open{
  animation:menuReveal .22s ease;
}
@keyframes menuReveal{
  0%{opacity:0; transform:translateY(-6px);}
  100%{opacity:1; transform:translateY(0);}
}

/* Subtle hover polish on homepage cards */
.card,
.preview-panel,
.eu-focus,
.demo-highlight .item{
  transition:transform .22s ease, box-shadow .22s ease;
}
.card:hover,
.preview-panel:hover,
.eu-focus:hover,
.demo-highlight .item:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 54px rgba(18,48,58,.12);
}

@media (prefers-reduced-motion: reduce){
  .hero-image-only,
  .nav-links.open{
    animation:none !important;
  }
}


/* --- Version 21 premium contact area --- */
.footer-contact-premium{
  display:grid;
  gap:28px;
}
.footer-contact-card{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  padding:34px 34px 30px;
  background:
    linear-gradient(135deg, rgba(43,122,138,.96), rgba(63,167,201,.92)),
    url('assets/img/hero-sea.jpg') center/cover no-repeat;
  color:#fff;
  box-shadow:0 24px 58px rgba(18,48,58,.16);
}
.footer-contact-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 82% 24%, rgba(255,255,255,.18), transparent 26%),
    radial-gradient(circle at 16% 78%, rgba(255,255,255,.10), transparent 24%);
  pointer-events:none;
}
.footer-contact-card h3{
  position:relative;
  z-index:1;
  margin:0 0 12px;
  font-size:clamp(30px,4vw,46px);
  line-height:1.03;
}
.footer-contact-card p{
  position:relative;
  z-index:1;
  margin:0 0 18px;
  max-width:860px;
  font-size:18px;
  line-height:1.75;
  color:rgba(255,255,255,.95);
}
.contact-lines{
  position:relative;
  z-index:1;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
}
.contact-lines a,
.contact-lines span{
  display:inline-flex;
  align-items:center;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  backdrop-filter:blur(8px);
}
.footer-premium{
  padding-top:6px;
}
.footer-col a,
.footer-col span{
  transition:color .22s ease, transform .22s ease;
}
.footer-col a:hover{
  color:var(--mcg-deep);
  transform:translateX(2px);
}
@media (max-width: 680px){
  .footer-contact-card{
    padding:28px 22px 24px;
  }
  .contact-lines{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* --- Version 24 homepage CARDIMED collage --- */
.home-intro .visual img{
  width:100%;
  border-radius:24px;
  box-shadow:0 24px 60px rgba(18,48,58,.16);
  border:1px solid rgba(63,167,201,.12);
}


/* --- Version 25 premium research showcase collage --- */
.home-intro{
  align-items:start;
}
.visual-showcase{
  position:relative;
}
.visual-showcase img{
  width:100%;
  border-radius:28px;
  box-shadow:0 30px 70px rgba(18,48,58,.18);
  border:1px solid rgba(63,167,201,.14);
  transition:transform .25s ease, box-shadow .25s ease;
}
.visual-showcase:hover img{
  transform:translateY(-4px) scale(1.01);
  box-shadow:0 38px 82px rgba(18,48,58,.22);
}
.visual-showcase:before{
  content:"";
  position:absolute;
  inset:-10px -10px auto auto;
  width:120px;
  height:120px;
  border-radius:28px;
  background:radial-gradient(circle, rgba(63,167,201,.16), transparent 70%);
  pointer-events:none;
  z-index:0;
}
.visual-badge{
  position:absolute;
  left:18px;
  top:18px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  color:var(--mcg-deep);
  font-size:12px;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  box-shadow:0 10px 22px rgba(18,48,58,.10);
  backdrop-filter:blur(6px);
}
.visual-badge:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--mcg-blue);
  display:inline-block;
}
@media (max-width: 920px){
  .visual-badge{
    top:14px;
    left:14px;
    font-size:11px;
    padding:9px 12px;
  }
}


/* V26 larger CARDIMED collage */
.home-intro{
  grid-template-columns: 1.1fr 1.4fr;
  gap:40px;
}

.visual-showcase img{
  width:100%;
  max-width:none;
  border-radius:30px;
  box-shadow:0 40px 90px rgba(18,48,58,.22);
}

@media (max-width: 920px){
  .home-intro{
    grid-template-columns:1fr;
  }
}


/* V27 CARDIMED image gallery */
.home-intro{
  grid-template-columns: 1.02fr 1.58fr;
  gap: 42px;
  align-items:start;
}
.visual-showcase{
  width:100%;
}
.cardimed-gallery{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
  width:100%;
  padding:8px;
  border-radius:30px;
  background:linear-gradient(180deg,#ffffff,#f7fbfc);
  box-shadow:0 40px 90px rgba(18,48,58,.20);
  border:1px solid rgba(63,167,201,.12);
}
.gallery-item{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:18px;
  min-height:150px;
  background:#eaf3f5;
}
.gallery-item img{
  width:100%;
  height:100%;
  min-height:150px;
  object-fit:cover;
  display:block;
  transition:transform .35s ease, filter .25s ease;
}
.gallery-item:hover img{
  transform:scale(1.10);
  filter:saturate(1.05);
}
.gallery-item:after{
  content:"+";
  position:absolute;
  right:10px;
  top:10px;
  width:28px;
  height:28px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  color:var(--mcg-deep);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .22s ease, transform .22s ease;
}
.gallery-item:hover:after{
  opacity:1;
  transform:translateY(0);
}
@media (max-width: 1100px){
  .home-intro{
    grid-template-columns:1fr;
  }
  .cardimed-gallery{
    grid-template-columns:repeat(4, 1fr);
  }
}
@media (max-width: 720px){
  .cardimed-gallery{
    grid-template-columns:repeat(2, 1fr);
  }
}


/* V28 centered larger CARDIMED collage */
.home-intro{
  grid-template-columns:1fr;
  text-align:left;
}

.cardimed-collage-center{
  display:flex;
  justify-content:center;
  margin-top:30px;
}

.cardimed-collage-center img{
  width:100%;
  max-width:1100px;
  border-radius:28px;
  box-shadow:0 40px 90px rgba(18,48,58,.22);
  border:1px solid rgba(63,167,201,.14);
}

@media (max-width:900px){
  .cardimed-collage-center img{
    max-width:100%;
  }
}


/* V29 REMEDIES visuals */
.remedies-showcase{
  margin:14px 0 18px;
}
.remedies-showcase img{
  width:100%;
  border-radius:24px;
  box-shadow:0 24px 56px rgba(18,48,58,.14);
  border:1px solid rgba(63,167,201,.12);
}
.remedies-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin:8px 0 18px;
}
.remedies-card{
  overflow:hidden;
  border-radius:20px;
  box-shadow:0 14px 34px rgba(18,48,58,.10);
  background:#fff;
}
.remedies-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}
@media (max-width: 700px){
  .remedies-grid{
    grid-template-columns:1fr;
  }
}


/* V31 actual map and remedies fixes */
.remedies-showcase{
  display:flex;
  justify-content:center;
  margin:10px 0 18px;
}
.remedies-showcase img{
  width:100%;
  max-width:760px;
  border-radius:18px;
  box-shadow:0 16px 36px rgba(18,48,58,.12);
}
.demo-locations{
  margin:10px 0 18px;
  color:var(--mcg-muted);
  font-size:16px;
  line-height:1.7;
}
.map-panel{
  overflow:hidden;
}
.map-box{
  min-height:340px;
  border-radius:24px;
  box-shadow:0 24px 54px rgba(18,48,58,.14);
}
.map-dot{
  z-index:3;
}
.map-dot.mykonos{left:56%; top:47%;}
.map-dot.attica{left:44%; top:60%;}
.map-dot.cyprus{left:83%; top:84%;}
.map-dot.lemnos{left:55%; top:24%;}
.map-dot.mytilene{left:60%; top:31%;}
.map-dot.rhodes{left:72%; top:72%;}
.map-label{
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(6px);
  border-radius:14px;
  padding:10px 12px;
}
@media (max-width: 920px){
  .map-box{
    min-height:300px;
  }
}


/* V32 cardimed/remedies collage positioning fixes */
.home-intro{
  grid-template-columns: 1.02fr 1.25fr !important;
  gap: 34px !important;
  align-items: center !important;
}
.visual-showcase{
  display:flex;
  align-items:center;
  justify-content:center;
}
.visual-showcase img{
  width:100%;
  max-width:980px;
  border-radius:28px;
  box-shadow:0 30px 70px rgba(18,48,58,.18);
  border:1px solid rgba(63,167,201,.14);
}
.cardimed-collage-center{
  display:none !important;
}

.remedies-inline-collage{
  margin-top:18px;
  display:flex;
  justify-content:center;
}
.remedies-inline-collage img{
  width:100%;
  max-width:760px;
  border-radius:20px;
  box-shadow:0 18px 40px rgba(18,48,58,.12);
  border:1px solid rgba(63,167,201,.10);
}

@media (max-width: 920px){
  .home-intro{
    grid-template-columns:1fr !important;
    align-items:start !important;
  }
}


/* V33 exact homepage/remedies corrections */
.home-intro{
  grid-template-columns: 1.02fr 1.28fr !important;
  gap: 36px !important;
  align-items: center !important;
}
.visual-showcase{
  display:flex;
  align-items:center;
  justify-content:center;
}
.visual-showcase img{
  width:100%;
  max-width:1000px;
  border-radius:28px;
  box-shadow:0 30px 70px rgba(18,48,58,.18);
  border:1px solid rgba(63,167,201,.14);
}
.remedies-inline-collage{
  margin-top:18px;
  display:flex;
  justify-content:center;
}
.remedies-inline-collage img{
  width:100%;
  max-width:640px;
  border-radius:18px;
  box-shadow:0 16px 36px rgba(18,48,58,.12);
  border:1px solid rgba(63,167,201,.10);
}
@media (max-width: 920px){
  .home-intro{
    grid-template-columns:1fr !important;
    align-items:start !important;
  }
}


/* V34 restore small right-side CARDIMED collage */
.home-intro{
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 32px !important;
  align-items: center !important;
}

.visual-showcase{
  display:flex;
  justify-content:center;
  align-items:center;
}

.visual-showcase img{
  width:100%;
  max-width:520px;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(18,48,58,.14);
  border:1px solid rgba(63,167,201,.12);
}

@media (max-width: 900px){
  .home-intro{
    grid-template-columns:1fr !important;
  }
  .visual-showcase img{
    max-width:100%;
  }
}


/* V35 ensure side-by-side intro layout */
.home-intro{
  display:grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  gap:36px !important;
  align-items:center !important;
}

.home-intro > div:first-child{
  max-width:720px;
}

.visual-showcase{
  display:flex;
  justify-content:center;
  align-items:center;
}

.visual-showcase img{
  width:100%;
  max-width:480px;
  border-radius:18px;
  box-shadow:0 18px 40px rgba(18,48,58,.14);
}

@media (max-width: 900px){
  .home-intro{
    grid-template-columns:1fr !important;
  }
}


/* V36 stacked CARDIMED showcase */
.visual-showcase{
  display:flex;
  justify-content:center;
  align-items:center;
}
.stacked-showcase{
  position:relative;
  width:min(100%, 500px);
  height:360px;
}
.stacked-showcase img{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 24px 54px rgba(18,48,58,.16);
  border:1px solid rgba(63,167,201,.12);
}
.stacked-showcase .stack-back{
  transform:rotate(-6deg) translate(-16px, 12px);
  opacity:.92;
  filter:saturate(.95) brightness(.98);
}
.stacked-showcase .stack-front{
  transform:rotate(3deg) translate(12px, -6px);
}
.stacked-showcase:hover .stack-back{
  transform:rotate(-8deg) translate(-22px, 18px);
}
.stacked-showcase:hover .stack-front{
  transform:rotate(4deg) translate(18px, -10px);
}

/* V36 interactive-looking demosite map */
.interactive-map{
  position:relative;
}
.interactive-map .map-dot{
  border:0;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.interactive-map .map-dot:hover{
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 14px 26px rgba(18,48,58,.18);
  background:var(--mcg-blue);
}
.interactive-map .map-dot:focus{
  outline:2px solid rgba(63,167,201,.35);
  outline-offset:2px;
}
.interactive-map:before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:18px;
  background:
    radial-gradient(circle at 45% 60%, rgba(63,167,201,.12), transparent 14%),
    radial-gradient(circle at 58% 28%, rgba(63,167,201,.10), transparent 12%),
    radial-gradient(circle at 72% 72%, rgba(91,107,58,.10), transparent 14%),
    linear-gradient(135deg, rgba(63,167,201,.04), rgba(43,122,138,.03));
  pointer-events:none;
}
@media (max-width:900px){
  .stacked-showcase{
    height:300px;
  }
}


/* V37 visible map with pins inside image */
.map-box,
.interactive-map{
  position:relative;
  min-height:420px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08)),
    url('assets/img/greece-demos-map.svg') center/contain no-repeat,
    linear-gradient(180deg,#f7fbfc,#eef5f7) !important;
  border:1px solid rgba(63,167,201,.14);
  overflow:hidden;
}
.interactive-map:before{
  display:none !important;
}
.map-dot{
  position:absolute;
  z-index:3;
  border:0;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  padding:8px 12px;
  border-radius:999px;
  color:#fff;
  background:var(--mcg-deep);
  font-weight:700;
  font-size:13px;
  box-shadow:0 10px 22px rgba(18,48,58,.16);
}
.interactive-map .map-dot:hover{
  transform:translateY(-2px) scale(1.04);
  background:var(--mcg-blue);
}
.map-dot.mykonos{left:57%; top:44%;}
.map-dot.attica{left:43%; top:50%;}
.map-dot.cyprus{left:82%; top:79%;}
.map-dot.lemnos{left:56%; top:23%;}
.map-dot.mytilene{left:63%; top:28%;}
.map-dot.rhodes{left:72%; top:64%;}
.map-label{
  position:absolute;
  left:18px;
  right:18px;
  bottom:14px;
  z-index:2;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(6px);
  border-radius:14px;
  padding:10px 12px;
  color:var(--mcg-muted);
  font-size:15px;
  line-height:1.5;
}
@media (max-width: 920px){
  .map-box,
  .interactive-map{
    min-height:340px;
    background-size:contain, auto;
  }
  .map-dot{
    font-size:11px;
    padding:7px 10px;
  }
  .map-dot.mykonos{left:54%; top:43%;}
  .map-dot.attica{left:40%; top:50%;}
  .map-dot.cyprus{left:77%; top:80%;}
  .map-dot.lemnos{left:53%; top:22%;}
  .map-dot.mytilene{left:60%; top:28%;}
  .map-dot.rhodes{left:67%; top:64%;}
}


/* V38 premium map pins and labels */
.map-box,
.interactive-map{
  box-shadow:0 28px 62px rgba(18,48,58,.16);
}
.map-dot{
  width:36px;
  height:36px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  background:linear-gradient(180deg, var(--mcg-blue), var(--mcg-deep));
  border:2px solid rgba(255,255,255,.88);
}
.map-dot.mytilene{
  width:42px;
}
.map-info{
  position:absolute;
  z-index:2;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(8px);
  border:1px solid rgba(63,167,201,.14);
  box-shadow:0 12px 28px rgba(18,48,58,.10);
  border-radius:14px;
  padding:8px 10px;
  font-size:12px;
  line-height:1.35;
  color:var(--mcg-text);
  min-width:122px;
}
.map-info span{
  color:var(--mcg-muted);
  font-size:11px;
}
.mykonos-info{left:60%; top:40%;}
.attica-info{left:32%; top:54%;}
.cyprus-info{left:73%; top:83%;}
.lemnos-info{left:49%; top:16%;}
.mytilene-info{left:66%; top:24%;}
.rhodes-info{left:74%; top:60%;}

.interactive-map .map-dot:hover + .map-info{
  transform:translateY(-2px);
}
.map-info{
  transition:transform .18s ease, box-shadow .18s ease;
}
@media (max-width: 920px){
  .map-dot{
    width:30px;
    height:30px;
    font-size:11px;
  }
  .map-dot.mytilene{width:36px;}
  .map-info{
    min-width:98px;
    padding:7px 8px;
    font-size:10px;
  }
  .map-info span{
    font-size:10px;
  }
}


/* V39 final cleanup pass */
:root{
  --content-max: 1160px;
}
.wrap{
  width:min(var(--content-max), calc(100% - 40px));
}
.section{
  padding:84px 0;
}
.page-hero{
  padding:70px 0 20px;
}
.section-title,
.page-hero .section-title{
  max-width: 980px;
}
.section-lead,
.page-hero .section-lead{
  max-width: 900px;
}
.section-title{
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.section-lead{
  font-size: 18px;
  line-height: 1.8;
  color: var(--mcg-muted);
  margin: 0 0 28px;
}
.kicker{
  margin-bottom: 16px;
}
.home-intro,
.map-impact-grid,
.card-grid-3,
.project-grid,
.profile-grid,
.expertise-lab-grid,
.home-preview-grid{
  align-items: stretch;
}
.card,
.preview-panel,
.project-card,
.pub-item,
.expertise-lab-card,
.profile-card,
.demo-rich,
.impact-panel,
.map-panel{
  border-radius: 28px;
}
.card,
.preview-panel,
.project-card,
.pub-item,
.expertise-lab-card,
.profile-card,
.demo-rich{
  box-shadow: 0 18px 44px rgba(18,48,58,.10);
}
.demo-rich .inner,
.project-inner,
.preview-panel,
.profile-content,
.expertise-lab-card,
.pub-item,
.impact-panel,
.map-panel{
  padding: 28px;
}
.demo-rich h2,
.project-card .content h3,
.preview-panel h3,
.expertise-lab-card h3{
  letter-spacing: -0.02em;
}
.site-footer{
  margin-top: 10px;
}
.footer-contact-card,
.footer-premium{
  border-radius: 30px;
}
.footer-note,
.footer-col a,
.footer-col span,
.contact-lines a,
.contact-lines span{
  font-size: 15px;
}
.nav-links a{
  font-size: 14px;
  letter-spacing: .01em;
}
.map-info{
  border-radius: 16px;
}
.map-label{
  font-size: 14px;
}
.remedies-inline-collage img,
.remedies-showcase img,
.visual-showcase img{
  box-shadow: 0 22px 52px rgba(18,48,58,.14);
}
@media (max-width: 920px){
  .section{
    padding: 68px 0;
  }
  .page-hero{
    padding: 56px 0 12px;
  }
  .section-title{
    font-size: clamp(30px, 7vw, 42px);
  }
  .section-lead{
    font-size: 17px;
    line-height: 1.75;
  }
}


/* V40 better remedies collage aspect */
.remedies-inline-collage img{
  width:100%;
  max-width:920px;
  height:auto;
  object-fit:contain;
}


/* V41 premium remedies collage styling (same size) */
.remedies-inline-collage{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

.remedies-inline-collage img{
  width:100%;
  max-width:920px;   /* keep same size */
  height:auto;
  background:#ffffff;
  padding:10px;      /* white gutters effect */
  border-radius:18px;
  box-shadow:0 24px 54px rgba(18,48,58,.16);
  transition:transform .35s ease, box-shadow .35s ease;
}

.remedies-inline-collage img:hover{
  transform:scale(1.02);
  box-shadow:0 30px 70px rgba(18,48,58,.22);
}


/* V42 premium EU Project Flagship cards */
.flagship-project-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.flagship-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff,#f7fbfc);
  border:1px solid rgba(63,167,201,.12);
  box-shadow:0 22px 52px rgba(18,48,58,.10);
  transition:transform .24s ease, box-shadow .24s ease;
}
.flagship-card:hover{
  transform:translateY(-8px);
  box-shadow:0 34px 72px rgba(18,48,58,.16);
}
.flagship-image{
  position:relative;
  overflow:hidden;
}
.flagship-image img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.flagship-card:hover .flagship-image img{
  transform:scale(1.05);
}
.flagship-content{
  padding:28px;
}
.flagship-content h3{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.02;
  letter-spacing:-0.02em;
}
.flagship-content .project-sub{
  margin:0 0 14px;
  color:var(--mcg-deep);
  font-weight:700;
}
.flagship-content ul{
  margin:0;
  padding-left:18px;
}
.flagship-content li{
  margin:8px 0;
  color:var(--mcg-muted);
  line-height:1.7;
}
@media (max-width: 1024px){
  .flagship-project-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 760px){
  .flagship-project-grid{
    grid-template-columns:1fr;
  }
}


/* V47 safe static Attica collage (no script) */
.demo-rich img{
  width:100%;
  height:auto;
  display:block;
}
.demo-rich > img,
.demo-rich .inner + img{
  border-radius:24px;
}
img[src*="attica-collage.jpg"]{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  border-radius:22px;
  box-shadow:0 24px 56px rgba(18,48,58,.14);
  border:1px solid rgba(63,167,201,.10);
}


/* V49 separate REMEDIES demo block */
.remedies-section-block{
  margin-top: 24px;
}
.remedies-section-collage{
  margin: 0 0 18px;
}
.remedies-section-collage img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 56px rgba(18,48,58,.14);
  border: 1px solid rgba(63,167,201,.10);
}
.remedies-section-title{
  color: #111111 !important;
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.remedies-section-list{
  margin: 0;
  padding-left: 20px;
}
.remedies-section-list li{
  color: #1b1b1b;
  line-height: 1.75;
  margin: 8px 0;
}


/* V51 Remedies visual separation like Mykonos / Attica */
.remedies-section-block{
  margin-top: 26px;
  padding-top: 0;
}
.remedies-accent-line{
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mcg-blue), var(--mcg-deep));
  margin: 0 0 18px;
  box-shadow: 0 8px 22px rgba(63,167,201,.18);
}
.remedies-section-collage{
  margin: 0 0 18px;
}
.remedies-section-collage img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 56px rgba(18,48,58,.14);
  border: 1px solid rgba(63,167,201,.10);
}
.remedies-section-title{
  color: #111111 !important;
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.remedies-section-list{
  margin: 0;
  padding-left: 20px;
}
.remedies-section-list li{
  color: #1b1b1b;
  line-height: 1.75;
  margin: 8px 0;
}
