:root{
  --teal:#015655;
  --aqua:#00CEA6;
  --amber:#F4B04D;
  --midnight:#063B3F;
  --sky:#E1EFF6;
  --ink:#1F2A2A;
  --grey:#5A6B6B;
  --line:#D8E4E4;
}

*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
body{font-family:'Work Sans',system-ui,sans-serif;color:var(--ink);background:#fff;line-height:1.55;font-size:17px}
h1,h2,h3,h4{font-family:'Merriweather',Georgia,serif}
.wrap{width:min(100% - 40px,1080px);max-width:1080px;margin:0 auto}
.band{width:100%}
a{color:inherit;text-decoration:none}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 24px;
  border:2px solid transparent;
  border-radius:10px;
  font-size:15.5px;
  font-weight:600;
}
.btn-amber{background:var(--amber);color:#3a2a05}

.phero{background:linear-gradient(120deg,#015655,#02403f);color:#fff}
.phero-in{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:38px;
  align-items:center;
  padding:26px 0 42px;
}
.bc{
  grid-column:1/-1;
  min-width:0;
  margin-bottom:6px;
  color:#a9d4cb;
  font-size:13px;
}
.bc a{color:#d8efe9}
.bc b{color:#fff}

.photo{
  width:280px;
  height:300px;
  min-width:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid rgba(255,255,255,.35);
  border-radius:16px;
  background:rgba(255,255,255,.06);
}
.photo img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
  transform:scale(1.035);
  background:#fff;
}
.partner-initials{
  color:#bfe3da;
  font-family:'Merriweather',Georgia,serif;
  font-size:48px;
  font-weight:900;
}

.partner-hero-copy{min-width:0;max-width:100%}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  padding:6px 12px;
  border:1px solid rgba(0,206,166,.5);
  border-radius:20px;
  background:rgba(0,206,166,.16);
  color:#bff4e6;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.role{
  max-width:100%;
  margin:8px 0 0;
  color:#d8efe9;
  font-size:17px;
  overflow-wrap:anywhere;
}
.owner{
  max-width:100%;
  margin:8px 0 0;
  color:#bfe3da;
  font-size:15.5px;
  font-weight:400;
  overflow-wrap:anywhere;
}

.owner strong{
  font-size:16.5px;
  font-weight:700;
  color:#fff;
}
.metaline{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  max-width:100%;
  margin-top:14px;
  color:var(--amber);
  font-size:14.5px;
  font-weight:600;
}
.metaline span::before{content:"•  ";color:var(--amber)}
.metaline span:first-child::before{content:""}
.hbtns{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.extlink{color:#bff4e6;font-weight:600;font-size:14.5px}

.grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,.9fr);
  gap:34px;
  align-items:start;
  padding:46px 0 20px;
}
.partner-main,
.partner-main section,
.prose,
.richtext,
.side,
.certbox,
.scard,
.reassure{
  min-width:0;
  max-width:100%;
}

.page-title,
h2.s{
  margin:0 0 12px;
  color:var(--teal);
  font-size:23px;
  font-weight:900;
}

.page-title{font-size:28px;line-height:1.2}


.prose p,
.richtext p{
  max-width:100%;
  margin:0 0 13px;
  color:var(--ink);
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-break:normal;
}
.richtext,
.richtext *{max-width:100%}
.richtext img,
.richtext video,
.richtext iframe{
  max-width:100%!important;
  height:auto!important;
}
.richtext table{
  width:100%!important;
  max-width:100%!important;
  table-layout:fixed;
}
.richtext td,
.richtext th{overflow-wrap:anywhere}
.richtext pre{
  max-width:100%;
  overflow:auto;
}

.sub{margin-top:26px}

 .chips{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:4px;
}

.chip{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:9px 14px;
  border:1px solid #BFD8D5;
  border-radius:10px;
  background:#F7FBFA;
  color:var(--teal);
  font-size:14px;
  font-weight:600;
  line-height:1.25;
  overflow-wrap:anywhere;
}


.powers{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:14px;
}
.prow{
  min-width:0;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 16px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
}
.prow .ic{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:9px;
  background:var(--sky);
}
.prow .ic img{
  width:22px;
  height:22px;
  object-fit:contain;
}
.prow b{
  min-width:0;
  color:var(--teal);
  font-size:15.5px;
  overflow-wrap:anywhere;
}
.prow .go{
  margin-left:auto;
  flex:0 0 auto;
  color:var(--teal);
  font-size:13.5px;
  font-weight:700;
}

.side{
  position:sticky;
  top:96px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.reassure{
  padding:22px;
  border-radius:16px;
  background:var(--midnight);
  color:#fff;
}
.reassure b{color:#fff}
.reassure p{
  margin:0;
  color:#d8efe9;
  font-size:14.5px;
  overflow-wrap:anywhere;
}
.certbox{
  padding:20px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.side-title{
  margin:0 0 10px;
  color:var(--teal);
  font-family:'Merriweather',Georgia,serif;
  font-size:15px;
  font-weight:900;
  line-height:1.3;
}
.certbox .richtext{font-size:14.5px}

.scard{
  padding:22px;
  border-radius:16px;
  background:var(--sky);
}
.scard .side-title{
  margin:0 0 12px;
  color:var(--teal);
  font-size:15px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.scard ul{margin:0;padding:0}
.scard li{
  display:flex;
  gap:8px;
  padding:8px 0;
  border-bottom:1px solid #cfe0ea;
  list-style:none;
  font-size:14.5px;
  overflow-wrap:anywhere;
}
.scard li:last-child{border-bottom:none}
.scard li::before{content:"✔";color:var(--aqua);font-weight:900}

.fcta{
  margin-top:26px;
  padding:52px 0;
  background:linear-gradient(120deg,#015655,#02403f);
  color:#fff;
  text-align:center;
}
.fcta h2{margin:0;color:#fff;font-size:28px;font-weight:900}
.fcta p{max-width:54ch;margin:12px auto 0;color:#cfe7e1}
.fcta .hbtns{justify-content:center}

@media(max-width:820px){
  .phero-in{grid-template-columns:1fr}
  .bc{grid-column:auto}
  .photo{width:min(280px,100%);height:300px}
  .grid{grid-template-columns:1fr}
  .side{position:static}
}

@media(max-width:620px){
  .wrap{width:min(100% - 32px,1080px)}
  .phero-in{padding:20px 0 34px}
  .photo{height:260px}
  .prow{align-items:flex-start}
  .prow .go{display:none}
}

/* ===== Profil partener — layout final ===== */
.partner-hero-grid{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:38px;
  align-items:center;
  padding:26px 0 42px;
}
.partner-hero-grid .bc{grid-column:1/-1}
.partner-hero-copy h1{
  margin:0;
  max-width:760px;
  color:#fff;
  font-family:'Merriweather',Georgia,serif;
  font-size:34px;
  font-weight:900;
  line-height:1.15;
}
.hero-covered{margin-top:10px}
.hero-covered-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  max-width:820px;
  color:#d8efe9;
  font-size:16px;
  line-height:1.55;
}
.hero-covered-list span{display:inline}
.hero-covered-list span:not(:last-child)::after{
  content:" · ";
  padding:0 5px;
  color:var(--aqua);
  font-weight:900;
}
.partner-content-band{background:#fff}
.partner-profile-grid{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);
  gap:38px;
  align-items:start;
  padding:48px 0 24px;
}
.section-title{
  margin:0 0 18px;
  color:var(--teal);
  font-family:'Merriweather',Georgia,serif;
  font-size:28px;
  font-weight:900;
  line-height:1.2;
}
.partner-main .richtext{
  font-size:17px;
  line-height:1.65;
}
.partner-main .richtext h1{display:none!important}
.partner-main .richtext h2:first-child{margin-top:0}
.service-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}


@media(max-width:820px){
  .partner-hero-grid{grid-template-columns:1fr}
  .partner-hero-grid .bc{grid-column:auto}
  .partner-profile-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .partner-hero-copy h1{font-size:29px}
  .section-title{font-size:24px}
}


/* Partner profile content wiring */
.metaline .meta-label{font-weight:800;color:var(--amber)}
.covered-text-list{color:var(--ink);font-size:17px;line-height:1.65}
.plain-multiline{white-space:pre-line}

@media(max-width:820px){
  .partner-profile-grid .partner-main{order:1}
  .partner-profile-grid .side{order:2}
}

@media(max-width:1000px){
  .metaline .meta-label{display:none}
}


/* Partner logo under main image — recommended 3:1 */
.partner-hero-media{min-width:0;display:grid;gap:12px;align-self:center}
.partner-logo-box{width:100%;aspect-ratio:3/1;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:#fff}
.partner-logo-box img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
@media(max-width:760px){
  .partner-hero-grid{grid-template-columns:1fr!important}
  .partner-hero-grid .bc{grid-column:1!important}
  .partner-hero-media{width:100%}
  .photo{width:100%!important;height:auto!important;aspect-ratio:4/3}
  .partner-profile-grid,.grid{grid-template-columns:1fr!important}
  .side{position:static!important}
  .partner-logo-box{aspect-ratio:3/1}
}

/* Square profile image, centered on a white background */
.photo{width:300px;height:300px;aspect-ratio:1/1;background:#fff!important;border-color:#e2e9e9!important}
.photo img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;transform:none!important;background:#fff!important}
@media(max-width:700px){.photo{width:min(100%,300px);height:auto;aspect-ratio:1/1;margin-inline:auto}}

/* Profil technology/business: logo centrat pe fundal alb, în cadru 1:1. */
.partner-hero-media .photo.company-logo-photo{
  width:280px!important;height:280px!important;aspect-ratio:1/1;
  background:#fff!important;padding:22px;
}
.partner-hero-media .photo.company-logo-photo img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  object-position:center center!important;transform:none!important;
  background:#fff!important;
}
@media(max-width:620px){
  .partner-hero-media .photo.company-logo-photo{width:min(280px,100%)!important;height:auto!important;}
}
