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

*{box-sizing:border-box;margin:0;padding:0;}

body{
  font-family:'Work Sans',system-ui,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.55;
  font-size:17px;
}

h1,h2,h3,.serif{font-family:'Merriweather',Georgia,serif;}

.wrap{
  max-width:1160px;
  margin:0 auto;
  padding:0 32px;
}

a{color:inherit;text-decoration:none;}

.eyebrow{
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--aqua);
}

section{position:relative;}

/* Hero */
.dhero{
  background:linear-gradient(120deg,#015655,#02403f);
  color:#fff;
  padding:44px 0 40px;
  text-align:center;
}

.dhero h1{
  font-size:36px;
  font-weight:900;
  line-height:1.15;
}

.dhero p{
  margin:14px auto 0;
  font-size:18px;
  color:#d8efe9;
  max-width:60ch;
}

.badges{
  display:flex;
  gap:22px;
  justify-content:center;
  margin-top:20px;
  flex-wrap:wrap;
  color:#bfe3da;
  font-size:14.5px;
  font-weight:600;
}

.badges span::before{
  content:"✔ ";
  color:var(--aqua);
}

/* Main layout */
.grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(260px,.85fr);
  gap:32px;
  align-items:start;
  padding:44px 0 60px;
}

/* CRM diagnostic form */
.formcard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 14px 34px rgba(1,86,85,.07);
}

.diagnostic-form-card{
  padding:16px;
  overflow:hidden;
}

.diagnostic-iframe-wrap{
  width:100%;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
}

.diagnostic-iframe{
  display:block;
  width:100%;
  min-width:100%;
  height:850px;
  border:0;
  background:#fff;
}

/* Sidebar */
.side{
  position:sticky;
  top:96px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.scard{
  background:var(--sky);
  border-radius:16px;
  padding:24px;
}

.scard h4{
  color:var(--teal);
  font-size:17px;
  margin-bottom:14px;
}

.snext{
  display:flex;
  gap:12px;
  margin-bottom:14px;
}

.snext:last-child{margin-bottom:0;}

.snext .n{
  width:30px;
  height:30px;
  border-radius:50%;
  background:#fff;
  border:2px solid var(--amber);
  color:var(--teal);
  font-weight:800;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.snext b{
  font-size:15px;
  color:var(--midnight);
}

.snext p{
  font-size:13.5px;
  color:var(--grey);
}

.reassure{
  background:var(--midnight);
  color:#fff;
  border-radius:16px;
  padding:22px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}

/* Same image treatment used on Despre noi: fixed box + cover + centered crop */
.reassure-photo{
  width:76px;
  height:76px;
  flex:0 0 76px;
  border-radius:50%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.reassure p{
  font-size:14.5px;
  color:#d8efe9;
}

.reassure b{color:#fff;}

.stat{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  text-align:center;
}

.stat b{
  font-family:'Merriweather',Georgia,serif;
  font-size:26px;
  color:var(--amber);
  display:block;
}

.stat span{
  font-size:13px;
  color:var(--grey);
}

/* Responsive */
@media (max-width: 900px){
  .grid{
    grid-template-columns:1fr;
    gap:24px;
    padding:32px 0 48px;
  }

  .side{
    position:static;
  }

  .diagnostic-iframe{
    height:950px;
  }
}

@media (max-width: 600px){
  .wrap{
    padding-left:18px;
    padding-right:18px;
  }

  .dhero{
    padding:36px 0 32px;
  }

  .dhero h1{
    font-size:30px;
  }

  .dhero p{
    font-size:16px;
  }

  .badges{
    gap:10px 16px;
    font-size:13.5px;
  }

  .grid{
    padding-top:24px;
  }

  .diagnostic-form-card{
    padding:8px;
    border-radius:14px;
  }

  .diagnostic-iframe-wrap{
    border-radius:10px;
  }

  .diagnostic-iframe{
    height:1050px;
  }

  .reassure-photo{
    width:76px;
    height:76px;
    flex-basis:76px;
  }
}
