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

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #2b2b2b;
  background: #fff;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Topbar ---------- */
.topbar {
  background: #1770b8;
  color: #fff;
  font-size: 15px;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.topbar-item:hover {
  opacity: 0.85;
}

.topbar-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 72px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 34px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 17px;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #1d6fa5;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #1d6fa5;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #1d6fa5;
  border-radius: 2px;
}

/* ---------- Banner ---------- */
.banner {
  overflow: hidden;
  max-height: 380px;
}

.banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
}

/* ---------- Main ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 50px 0 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.card {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  padding: 26px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.card-label {
  color: #1d6fa5;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

a.card-label:hover {
  text-decoration: underline;
}

.card-date {
  font-size: 15px;
  color: #444;
}

.card-text {
  font-size: 16px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  align-self: flex-start;
  margin-top: 6px;
  color: #1d6fa5;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.read-more:hover {
  border-color: #1d6fa5;
}

/* ---------- Anunț view ---------- */
.back-link {
  display: inline-block;
  margin: 40px 0 24px;
  color: #1d6fa5;
  text-decoration: none;
  font-weight: 600;
}

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

.anunt-view {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  padding: 36px 40px 46px;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anunt-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 8px;
}

.anunt-body p {
  margin-bottom: 18px;
  font-size: 17px;
  color: #333;
}

.anunt-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact page ---------- */
.contact-card {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  padding: 14px 34px;
  margin-bottom: 70px;
}

.contact-company {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: #123a55;
  padding: 26px 0 10px;
  border-bottom: 1px solid #ececec;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #ececec;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eaf2f8;
  color: #1d6fa5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  font-size: 16px;
  font-weight: 700;
  color: #1d6fa5;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 17px;
  color: #333;
}

.contact-value a {
  color: #333;
  text-decoration: none;
}

.contact-value a:hover {
  color: #1d6fa5;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #123a55;
  color: #dbe7ef;
  padding: 26px 0;
  font-size: 14px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbe7ef;
  text-decoration: none;
}

.footer-item svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.footer-company {
  font-weight: 700;
  color: #fff;
}

a.footer-item:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #b9cddc;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .topbar-inner {
    gap: 6px 18px;
    font-size: 14px;
  }

  .contact-card {
    padding: 6px 18px;
  }

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .logo img {
    height: 58px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 200px;
    padding: 10px 0;
  }

  .banner,
  .banner img {
    height: 220px;
    max-height: 220px;
  }

  .page-title {
    font-size: 32px;
    margin: 34px 0 22px;
  }

  .anunt-view {
    padding: 24px 20px 34px;
  }

  .anunt-title {
    font-size: 26px;
  }
}
