.hero--pages {
  position: relative;
  max-height: 420px;
  min-height: 420px;
  overflow: hidden;
  background-image: url('/assets/images/core-consult-herobg-1.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: left;
  padding: 0;
}

.hero--pages--alt {
  background-image: url('/assets/images/core-consult-herobg-2.webp');
}

.hero--pages--dezvoltare {
  background-image: url('/assets/images/pagina-dezvoltare-locala-si-regionala.webp');
}

.hero--pages--educatie {
  background-image: url('/assets/images/pagina-educatie-sanatate-si-incluziune.webp');
}

.hero--pages--mediu {
  background-image: url('/assets//images/pagina-mediu-si-schimbari-climatice.webp');
}

.hero--pages--digitalizare {
  background-image: url('/assets/images/pagina-digitalizare-si-inovare.webp');
}

.hero--pages--energie {
  background-image: url('/assets/images/pagina-energie-si-eficienta-energetica.webp');
}

.hero--pages--agricultura {
  background-image: url('/assets/images/pagina-agricultura-si-dezvoltare-rurala.webp');
}

.hero--pages--alt--404 {
  max-height: 100vh;
  min-height: 100vh;
  background-image: url('/assets/images/404.webp');
  text-align: center;
}

.hero--pages--404 p {
  color: #fff;
  max-width: 700px;
  margin: 1rem auto;
}

.lost-404 {
  color: #FFFFFF;
  font-family: "Montserrat", Sans-serif;
  font-size: 250px;
  font-weight: 700;
  line-height: 250px;
  text-shadow: 0px 17px 55px rgba(255, 255, 255, 0.58);
}

.hero--pages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgb(15 23 42) 0%, rgb(15 23 42 / 82%) 50%, rgb(15 23 42 / 40%) 100%);
  z-index: 1;
}

.hero--pages>.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: var(--container-max);
  padding-inline: var(--container-padding);
  z-index: 2;
}

.hero--pages h1 {
  color: var(--color-white);
  font-size: 30px;
  min-width: 100%;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding-top: 195px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.list-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #0f172a;
  margin-top: 4.2px;
}

.ed-para {
  margin-bottom: 14px;
  margin-top: -4px;
}

@media (max-width: 1024px) {
  .features-premium__list {
    flex-direction: column;
  }

  .features-premium__container {
    gap: 5px;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 30px 0;
    text-align: center;
  }

  .feature-item:last-child {
    border-bottom: none;
    margin-bottom: 5px;
    padding-bottom: 0px;
  }

  .feature-item:hover {
    background-color: #fff;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero--pages {
    min-height: 290px;
    max-height: 290px;
  }

  .hero--pages h1 {
    padding-top: 70px;
    font-size: 30px;
  }

  .hero--pages--404 {
    min-height: 100vh;
    max-height: 100vh;
  }

  .lost-404 {
    font-size: 200px;
    line-height: 200px;
  }
}

@media (max-width: 639px) {
  .hero--pages {
    min-height: 185px;
    max-height: 185px;
  }

  .hero--pages--404 {
    min-height: 100vh;
    max-height: 100vh;
  }

  .lost-404 {
    font-size: 100px;
    line-height: 100px;
  }

  .hero--pages h1 {
    font-size: 18px;
    padding-top: 100px;
  }
}

.features-premium__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.features-premium__divider {
  width: 60px;
  height: 3px;
  background-color: #2b6482;
  margin: 0 auto 20px auto;
  border-radius: 50px;
}

.features-premium__subtitle {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.5;
}

.cta-banner {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-banner-bg .cta-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c3e5a 0%, #3a4f6e 40%, #4a6080 70%, #374b64 100%);
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 50, 0.55);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 28px;
  font-family: var(--font-family-heading);
}

.cta-banner-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.cta-banner-arrow {
  display: inline-block;
  animation: cta-bounce 1.8s ease-in-out infinite;
}

.cta-banner-arrow svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

@keyframes cta-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 768px) {
  .cta-banner-title {
    font-size: 28px;
  }

  .cta-banner {
    min-height: 220px;
    padding: 40px 16px;
  }
}

.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  margin: 0 auto;
  padding: 40px 0px 0px;
  justify-items: center;
}

@media (max-width: 1024px) {
  .sv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.sv-card-outer {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.sv-card-outer--alt {
  padding-bottom: 0px;
}

.sv-card {
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: visible;
  position: relative;
}

.sv-card-bg {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
}

.sv-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sv-card-bg .sv-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c3e5a 0%, #3a4f6e 40%, #4a6080 70%, #374b64 100%);
}

.sv-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(25 40 65 / 48%);
}

.sv-card-frame {
  position: absolute;
  top: 56px;
  left: 28px;
  right: 28px;
  bottom: 70px;
  border: 2.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(25, 40, 65, 0.15);
}

.sv-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 26px;
  z-index: 3;
  font-family: var(--font-family-heading), sans-serif;
}

.sv-cta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  padding: 12px 24px;
  background: #fff;
  color: #1a2a40;
  border: none;
  border-radius: 50px;
  font-family: var(--font-family-heading), sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
  transition: background 0.25s ease, transform 0.15s ease;
}

.sv-cta:hover {
  color: var(--color-primary);
  transform: translate(-50%, 50%) translateY(0px);
}

.sv-cta:active {
  transform: translate(-50%, 50%) translateY(0);
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
}
 
.services-list li::before {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #1D6481;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 13 L11 16 L16 9' stroke='%23ffffff' stroke-width='3' stroke-linecap='square' fill='none'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 5px;
}
 
.services-list li .list-icon {
    display: none;
}

.section[id] + .section[id] {
    padding-top: 0;
}

.section[id] {
    scroll-margin-top: clamp(3rem, 1.5rem + 2vw, 6rem);
}