:root {
  --navy: #072f5f;
  --navy-2: #021f41;
  --blue: #0f65bd;
  --yellow: #ffc320;
  --green: #17a957;
  --red: #e45442;
  --purple: #7156c9;
  --text: #0b2545;
  --muted: #5d6f88;
  --line: #dbe5f1;
  --bg: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(8, 39, 76, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

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

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 39, 76, 0.08);
}

.topbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--yellow);
  font-size: 29px;
  font-weight: 900;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.phone-chip__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-size: 17px;
}

.phone-chip strong,
.phone-chip small {
  display: block;
}

.phone-chip strong {
  font-size: 16px;
}

.phone-chip small {
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  background: var(--navy-2);
  color: var(--white);
}

.nav-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-inner a {
  padding: 13px 19px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-inner a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-account {
  margin-left: auto;
}

.btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
}

.btn small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

.btn--yellow {
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 4px 0 rgba(181, 128, 0, 0.18);
}

.btn--green {
  color: var(--white);
  background: var(--green);
}

.btn--blue {
  color: var(--white);
  background: var(--blue);
}

.btn--outline {
  color: var(--navy);
  background: var(--white);
  border-color: #a8c3e6;
}

.btn--wide {
  width: 100%;
}

.btn--big {
  min-height: 48px;
  padding-inline: 28px;
}

.hero {
  position: relative;
  min-height: 395px;
  overflow: hidden;
  color: var(--white);
  background: #142b46;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 23, 48, 0.82), rgba(1, 23, 48, 0.7) 46%, rgba(1, 23, 48, 0.35)),
    url("/assets/bucharest-hero.png") center / cover no-repeat;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 510px;
  gap: 42px;
  align-items: center;
  padding: 46px 0 28px;
}

.hero__copy h1 {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__copy h1 span {
  color: var(--yellow);
}

.hero__points {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__points li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero__stats div {
  min-width: 120px;
  display: grid;
  gap: 2px;
}

.hero__stats strong {
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}

.hero__stats span {
  font-size: 13px;
}

.lead-box {
  padding: 24px;
  border-radius: 9px;
  color: var(--text);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-box h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 20px;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-box label {
  display: grid;
  gap: 6px;
}

.lead-box label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-box input,
.lead-box select,
.lead-box textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d5e0ed;
  border-radius: 5px;
  padding: 10px 13px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  font-size: 13px;
}

.lead-box input::placeholder,
.lead-box textarea::placeholder {
  color: #788ba4;
}

.lead-box textarea {
  resize: vertical;
}

.textarea-label {
  grid-row: span 2;
}

.lead-box .btn {
  margin-top: 14px;
  min-height: 42px;
  font-size: 14px;
}

.privacy-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.section {
  padding: 32px 0;
}

.section--soft {
  background: linear-gradient(180deg, #f9fbfe, #eef5fc);
}

.section--compact {
  padding-top: 18px;
}

.section__head {
  margin-bottom: 18px;
  text-align: center;
}

.section__head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  text-transform: uppercase;
}

.section__head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section__star {
  color: var(--yellow);
  font-size: 22px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 122px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 16px 10px;
  border: 1px solid #e1eaf5;
  border-radius: 8px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(8, 39, 76, 0.08);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(8, 39, 76, 0.12);
}

.category-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.category-card__icon--orange {
  background: #ed6a27;
}

.category-card__icon--green {
  background: #17855c;
}

.category-card__icon--purple {
  background: var(--purple);
}

.category-card__icon--red {
  background: var(--red);
}

.category-card__icon--yellow {
  color: var(--navy);
  background: var(--yellow);
}

.category-card strong {
  color: var(--navy);
  font-size: 14px;
}

.category-card small,
.category-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.center-link {
  margin: 18px 0 0;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.partners-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.partners-grid--category,
.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 20px 18px;
  border: 1px solid #dfeaf6;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 39, 76, 0.08);
}

.company-card--featured {
  box-shadow: 0 18px 40px rgba(8, 39, 76, 0.13);
}

.partner-ribbon {
  position: absolute;
  top: -8px;
  left: 22px;
  border-radius: 3px;
  padding: 6px 12px;
  color: var(--white);
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 18px;
  font-weight: 900;
}

.company-logo--large {
  width: 76px;
  height: 76px;
  font-size: 25px;
}

.company-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
}

.company-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 4px 8px;
  color: #0f5132;
  background: #eaf8ef;
  font-size: 11px;
  font-weight: 800;
}

.badge-row--large span {
  min-height: 28px;
  padding-inline: 11px;
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text);
  font-size: 13px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-list li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 900;
}

.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.partner-slot {
  border-style: dashed;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.offer-card {
  overflow: hidden;
  border: 1px solid #dfeaf6;
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(8, 39, 76, 0.09);
}

.offer-card__image {
  height: 96px;
  display: flex;
  align-items: flex-start;
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(7, 47, 95, 0.32), rgba(23, 169, 87, 0.22)),
    url("/assets/bucharest-hero.png") center / cover no-repeat;
}

.offer-card__image--2 {
  background-position: 34% 42%;
}

.offer-card__image--3 {
  background-position: 50% 66%;
}

.offer-card__image--4 {
  background-position: 64% 40%;
}

.offer-card__image--5 {
  background-position: 78% 52%;
}

.offer-card__image span {
  border-radius: 3px;
  padding: 5px 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card__body {
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: center;
}

.offer-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.offer-card p {
  min-height: 38px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.offer-card strong {
  color: var(--navy);
  font-size: 15px;
}

.trust-strip {
  padding: 24px 0 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border: 1px solid #e1eaf5;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 39, 76, 0.07);
}

.trust-grid div {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}

.trust-grid strong {
  color: var(--navy);
  font-size: 14px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 12px;
}

.mini-guide {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.mini-guide h2 {
  margin: 0;
  color: var(--navy);
}

.mini-guide div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--bg);
}

.mini-guide span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--yellow);
  font-weight: 900;
}

.mini-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero,
.company-hero {
  padding: 54px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 31, 65, 0.9), rgba(7, 47, 95, 0.78)),
    url("/assets/bucharest-hero.png") center / cover no-repeat;
}

.page-hero--orange {
  background:
    linear-gradient(90deg, rgba(71, 29, 2, 0.88), rgba(7, 47, 95, 0.72)),
    url("/assets/bucharest-hero.png") center / cover no-repeat;
}

.page-hero--green {
  background:
    linear-gradient(90deg, rgba(3, 74, 50, 0.88), rgba(7, 47, 95, 0.72)),
    url("/assets/bucharest-hero.png") center / cover no-repeat;
}

.page-hero--purple {
  background:
    linear-gradient(90deg, rgba(47, 35, 112, 0.88), rgba(7, 47, 95, 0.72)),
    url("/assets/bucharest-hero.png") center / cover no-repeat;
}

.page-hero h1,
.company-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}

.page-hero p,
.company-title p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.breadcrumb {
  display: inline-flex;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.filter-panel,
.profile-panel {
  padding: 22px;
  border: 1px solid #e0eaf6;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 39, 76, 0.07);
}

.filter-panel {
  position: sticky;
  top: 152px;
}

.filter-panel h2,
.profile-panel h2,
.list-head h2 {
  margin: 0 0 10px;
  color: var(--navy);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.service-tags a {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--navy);
  background: #eef5fc;
  font-size: 13px;
  font-weight: 800;
}

.list-head {
  margin: 0 0 14px;
}

.list-head:not(:first-child) {
  margin-top: 28px;
}

.list-head p {
  margin: 0;
  color: var(--muted);
}

.company-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
}

.company-title {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}

.profile-actions {
  display: grid;
  gap: 12px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 32px;
  align-items: start;
}

.details-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.details-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #e8eff7;
}

.details-list dt {
  color: var(--muted);
  font-weight: 800;
}

.details-list dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.details-list a {
  color: var(--blue);
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px dashed #adc6e4;
  border-radius: 8px;
  text-align: center;
  background: #f7fbff;
}

.empty-state h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  color: var(--white);
  background: var(--navy-2);
}

.footer-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, #073a75, #06264f);
}

.footer-cta__inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
}

.footer-cta h2,
.footer-cta p {
  margin: 0;
}

.footer-cta p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 42px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand--footer .brand__mark {
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.brand--footer strong {
  color: var(--white);
  font-size: 22px;
}

.brand--footer small {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-main a,
.footer-main span {
  display: block;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-bottom {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.footer-bottom a:first-of-type {
  margin-left: auto;
}

@media (max-width: 1080px) {
  .hero__grid,
  .company-hero__grid,
  .profile-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .category-grid,
  .offer-grid,
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partners-grid,
  .partners-grid--category,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .topbar,
  .header-actions,
  .footer-cta__inner,
  .footer-main,
  .footer-bottom,
  .company-title {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .brand strong {
    font-size: 24px;
  }

  .brand small {
    font-size: 12px;
  }

  .header-actions {
    width: 100%;
    gap: 12px;
  }

  .header-actions .btn,
  .phone-chip {
    width: 100%;
  }

  .nav-inner a {
    padding: 12px 14px;
    font-size: 12px;
  }

  .hero__grid {
    padding: 34px 0 24px;
    gap: 24px;
  }

  .hero__copy h1 {
    font-size: 34px;
  }

  .lead-box {
    padding: 18px;
  }

  .form-grid,
  .category-grid,
  .offer-grid,
  .trust-grid,
  .partners-grid,
  .partners-grid--category,
  .listing-grid,
  .mini-guide {
    grid-template-columns: 1fr;
  }

  .textarea-label {
    grid-row: auto;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .details-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-bottom a:first-of-type {
    margin-left: 0;
  }
}
