/*
Theme Name: CPG Custom
Theme URI: http://localhost/github/cpg/
Author: Carpathia Property Group
Description: Temă custom pentru Carpathia Property Group, construită după designul inițial HTML.
Version: 1.0.0
Text Domain: cpg-custom
*/

:root {
  --cpg-ink: #103033;
  --cpg-muted: #5c7174;
  --cpg-blue: #005856;
  --cpg-blue-dark: #004846;
  --cpg-button-green: #005856;
  --cpg-button-green-dark: #004846;
  --cpg-surface: #f3f8f7;
  --cpg-border: #d8e3e1;
  --cpg-footer: #081b1d;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 76px;
  color: var(--cpg-ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
}

a {
  text-decoration: none;
}

.site-navbar {
  min-height: 76px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.08);
  overflow: visible;
  transition: min-height 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-navbar .container {
  position: relative;
}

.navbar-collapse {
  align-items: center;
  gap: 16px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cpg-ink);
  font-weight: 800;
  letter-spacing: 0;
  transition: gap 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-logo {
  width: auto;
  max-width: 158px;
  max-height: 50px;
  object-fit: contain;
  transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-text {
  white-space: nowrap;
}

.navbar-nav {
  align-items: center;
  gap: 6px;
}

.navbar .nav-item {
  display: flex;
  align-items: center;
}

.navbar .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  color: #334155;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, min-height 0.32s cubic-bezier(0.22, 1, 0.36, 1), padding 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-navbar.is-scrolled {
  min-height: 50px;
  box-shadow: 0 5px 16px rgba(20, 33, 61, 0.1);
}

.site-navbar.is-scrolled .navbar-brand {
  gap: 7px;
}

.site-navbar.is-scrolled .site-logo {
  max-width: 120px;
  max-height: 32px;
}

.site-navbar.is-scrolled .nav-link {
  min-height: 32px;
  padding: 5px 11px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.dropdown-item.active,
.dropdown-item:active {
  color: var(--cpg-blue);
  background: transparent;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: var(--cpg-blue);
  background: rgba(0, 88, 86, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 88, 86, 0.1);
  outline: none;
}

.navbar .nav-link.active {
  color: var(--cpg-blue-dark);
  background: transparent;
  box-shadow: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: rgba(0, 88, 86, 0.06);
  border: 1px solid rgba(0, 88, 86, 0.1);
  border-radius: 999px;
}

.language-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--cpg-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.language-switcher__link:hover,
.language-switcher__link:focus-visible {
  color: var(--cpg-blue-dark);
  background: rgba(0, 88, 86, 0.08);
  outline: none;
}

.language-switcher__link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cpg-blue), var(--cpg-blue-dark));
  box-shadow: 0 10px 20px rgba(0, 72, 70, 0.2);
}

.nav-item-mega {
  position: static;
}

.mega-toggle {
  display: inline-flex;
  align-items: center;
}

.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding-top: 9px;
  padding-bottom: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.22s;
  will-change: opacity;
  z-index: 1040;
}

.nav-item-mega:hover .mega-menu,
.nav-item-mega:focus-within .mega-menu,
.nav-item-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.5fr);
  gap: 48px;
  padding: 38px 44px;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 30px 60px rgba(20, 33, 61, 0.16);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.nav-item-mega:hover .mega-menu__inner,
.nav-item-mega:focus-within .mega-menu__inner,
.nav-item-mega.is-open .mega-menu__inner {
  opacity: 1;
  transform: translateY(0);
}

.mega-menu__intro {
  max-width: 360px;
}

.mega-menu__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cpg-button-green);
}

.mega-menu__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 2vw, 2.35rem);
  line-height: 1.1;
  color: var(--cpg-ink);
}

.mega-menu__text {
  margin: 0 0 24px;
  color: var(--cpg-muted);
  line-height: 1.7;
}

.mega-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--cpg-button-green);
}

.mega-menu__cta::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

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

.mega-menu__section {
  min-width: 0;
}

.mega-menu__heading {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: rgba(20, 33, 61, 0.55);
}

.mega-menu__list {
  margin: 0;
}

.mega-menu__list li + li {
  border-top: 1px solid rgba(20, 33, 61, 0.08);
}

.mega-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: #21444a;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-menu__link::after {
  content: "\203A";
  font-size: 1.3rem;
  line-height: 1;
  color: rgba(33, 68, 74, 0.6);
}

.mega-menu__link:hover,
.mega-menu__link:focus {
  color: var(--cpg-button-green);
  transform: translateX(4px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  min-height: calc(100dvh - 76px);
  overflow: hidden;
  color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 18, 36, 0.78), rgba(8, 18, 36, 0.38));
}

.hero-parallax {
  background-attachment: fixed;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.hero-logo {
  width: min(360px, 76vw);
  height: auto;
  margin-bottom: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-inner {
  min-height: 42vh;
}

.section-pad {
  padding: 72px 0;
}

.section-muted {
  background: var(--cpg-surface);
}

.section-title {
  margin-bottom: 32px;
  text-align: center;
  font-weight: 800;
  color: var(--cpg-ink);
}

.card {
  border-color: var(--cpg-border);
  border-radius: 8px;
}

.card-hover-effect {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 88, 86, 0.35);
  box-shadow: 0 16px 34px rgba(20, 33, 61, 0.16);
}

.category-card {
  min-height: 210px;
}

.icon-circle {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  color: var(--cpg-button-green);
  background: rgba(25, 135, 84, 0.1);
  border-radius: 50%;
}

.text-primary {
  color: var(--cpg-button-green) !important;
}

.card-img-top,
.property-gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-overlay {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-overlay img {
  transition: transform 0.28s ease;
}

.card-overlay:hover img {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px;
  color: #ffffff;
  background: rgba(8, 18, 36, 0.72);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.card-overlay:hover .overlay-text {
  opacity: 1;
}

.property-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.property-meta li {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--cpg-border);
  border-radius: 8px;
}

.contact-panel {
  position: sticky;
  top: 104px;
  padding: 26px;
  background: var(--cpg-surface);
  border: 1px solid var(--cpg-border);
  border-radius: 8px;
}

.contact-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
  margin-top: 28px;
}

.info-panel,
.form-panel {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--cpg-border);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(20, 33, 61, 0.08);
}

.info-panel {
  position: sticky;
  top: 104px;
}

.feature-card {
  background: #ffffff;
}

.home-hero {
  padding: 84px 0 56px;
}

.home-hero::before {
  background:
    radial-gradient(circle at top right, rgba(25, 135, 84, 0.18), transparent 28%),
    linear-gradient(105deg, rgba(6, 18, 34, 0.92), rgba(8, 29, 46, 0.76) 52%, rgba(8, 29, 46, 0.48));
}

.home-hero__layout {
  min-height: inherit;
}

.home-hero__content {
  max-width: 760px;
}

.home-eyebrow {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.home-hero__title {
  max-width: 11ch;
  margin: 0 0 24px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.home-hero__lead {
  max-width: 640px;
  margin: 0 0 30px;
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.82);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.home-hero__ghost {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.52);
  --bs-btn-hover-color: #0b2236;
  --bs-btn-hover-bg: #ffffff;
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-active-color: #0b2236;
  --bs-btn-active-bg: #ffffff;
  --bs-btn-active-border-color: #ffffff;
  backdrop-filter: blur(8px);
}

.home-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-hero__metric {
  min-height: 112px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.home-hero__metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.75rem;
  line-height: 1;
  color: #ffffff;
}

.home-hero__metric span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
}

.home-hero__panel {
  position: relative;
  padding: 30px;
  color: #f5f7fb;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(4, 11, 20, 0.32);
  backdrop-filter: blur(14px);
}

.home-hero__panel-label,
.service-note__eyebrow,
.action-card__eyebrow,
.contact-surface__eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero__panel-label {
  color: #9be7b6;
}

.home-hero__panel-title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  line-height: 1.08;
}

.home-hero__panel-text {
  margin: 0 0 22px;
  line-height: 1.7;
  color: rgba(245, 247, 251, 0.78);
}

.home-hero__panel-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.home-hero__panel-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.home-hero__panel-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #9be7b6, #198754);
  border-radius: 50%;
  transform: translateY(-50%);
}

.home-hero__panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.home-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--cpg-button-green);
}

.home-inline-link::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.home-inline-link--light {
  color: #d8fff0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading__eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cpg-button-green);
}

.section-heading__text {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cpg-muted);
}

.section-heading__text--full {
  max-width: none;
  width: 100%;
}

.section-title--left {
  margin-bottom: 0;
  text-align: left;
}

.section-heading__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--cpg-ink);
  border-bottom: 2px solid rgba(25, 135, 84, 0.3);
}

.section-heading__cta::after {
  content: "\203A";
  font-size: 1.35rem;
  line-height: 1;
}

.section-heading--light .section-title,
.section-heading--light .section-heading__text,
.section-heading--light .section-heading__cta {
  color: #f4f7fb;
}

.section-heading--light .section-heading__eyebrow {
  color: #8be0af;
}

.section-heading--light .section-heading__cta {
  border-bottom-color: rgba(216, 255, 240, 0.28);
}

.category-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
  height: 100%;
  padding: 28px;
  color: var(--cpg-ink);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(20, 33, 61, 0.06);
}

.category-panel__icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--cpg-button-green);
  font-size: 1.5rem;
  background: rgba(25, 135, 84, 0.1);
  border-radius: 18px;
}

.category-panel__label,
.service-card__label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 33, 61, 0.48);
}

.category-panel__content h3,
.service-card h3,
.property-card-modern__body h3,
.action-card h3,
.contact-surface__intro h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.18;
}

.category-panel__content p,
.service-card p,
.property-card-modern__body p,
.action-card p,
.contact-surface__intro p {
  margin: 0;
  line-height: 1.72;
}

.category-panel__link {
  align-self: end;
  font-weight: 700;
  color: var(--cpg-button-green);
}

.home-services {
  color: #f4f7fb;
  background: linear-gradient(135deg, #0d2035 0%, #103348 55%, #11514a 100%);
}

.service-note {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.service-note__eyebrow {
  color: #8be0af;
}

.service-note h3 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.08;
}

.service-note p {
  margin: 0 0 24px;
  line-height: 1.78;
  color: rgba(244, 247, 251, 0.78);
}

.service-card {
  height: 100%;
  padding: 28px;
  color: var(--cpg-ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  box-shadow: 0 24px 40px rgba(4, 10, 18, 0.14);
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--cpg-button-green);
  font-size: 1.35rem;
  background: rgba(25, 135, 84, 0.1);
  border-radius: 16px;
}

.property-card-modern {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(20, 33, 61, 0.08);
}

.property-card-modern__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-card-modern__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.property-card-modern__title {
  margin: 0;
  color: var(--cpg-ink);
}

.property-card-modern__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-card-modern__meta span,
.contact-surface__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
}

.property-card-modern__meta span {
  color: #21444a;
  background: rgba(17, 81, 74, 0.08);
}

.property-card-modern--listing {
  text-decoration: none;
}

.property-listing-card__price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cpg-blue-dark);
}

.property-listing-card__details {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.property-listing-card__details li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  padding: 7px 10px;
  background: #f8fbfb;
  border: 1px solid rgba(20, 33, 61, 0.06);
  border-radius: 10px;
}

.property-listing-card__details strong {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(16, 48, 51, 0.72);
}

.property-listing-card__details span {
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cpg-ink);
}

.property-listing-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cpg-blue-dark);
}

.property-listing-card__cta::after {
  content: "\203A";
  font-size: 1.1rem;
  line-height: 1;
}

.property-filters {
  padding: 24px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #f8fbfb, #ffffff);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(20, 33, 61, 0.06);
}

.property-listing-shell {
  position: relative;
  transition: opacity 0.22s ease;
}

.property-listing-shell.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.property-filters .form-label {
  font-weight: 700;
  color: var(--cpg-ink);
}

.property-filters__actions {
  align-items: flex-end;
}

.property-filters__actions .btn {
  white-space: nowrap;
}

.property-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 33, 61, 0.08);
}

.property-toolbar__spacer {
  display: none;
}

.property-toolbar__meta {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.property-toolbar__count {
  margin: 0;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cpg-blue-dark);
  background: rgba(0, 88, 86, 0.08);
  border: 1px solid rgba(0, 88, 86, 0.1);
  border-radius: 999px;
}

.property-toolbar__sort {
  min-width: 220px;
}

.property-toolbar__sort .form-label {
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.home-actions {
  position: relative;
}

.action-card {
  height: 100%;
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(20, 33, 61, 0.08);
}

.action-card--request {
  color: #f6f8fb;
  background: linear-gradient(140deg, #0f2d46, #11514a);
}

.action-card--owner {
  color: var(--cpg-ink);
  background: linear-gradient(140deg, #ffffff, #edf5f3);
  border: 1px solid rgba(20, 33, 61, 0.08);
}

.action-card__eyebrow {
  color: inherit;
  opacity: 0.7;
}

.action-card p {
  margin-bottom: 24px;
}

.action-card .btn {
  min-width: 220px;
}

.contact-surface {
  padding: 20px;
  background: linear-gradient(180deg, #eef4f3, #ffffff);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 28px;
  box-shadow: 0 22px 46px rgba(20, 33, 61, 0.08);
}

.contact-surface__intro {
  height: 100%;
  padding: 30px;
  color: #f4f7fb;
  background: linear-gradient(160deg, #10273d, #153d4a 72%, #11514a);
  border-radius: 22px;
}

.contact-surface__eyebrow {
  color: #8be0af;
}

.contact-surface__intro p + p {
  margin-top: 14px;
}

.contact-surface__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-surface__tags span {
  color: #f4f7fb;
  background: rgba(255, 255, 255, 0.12);
}

.contact-surface__form {
  height: 100%;
  padding: 30px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(20, 33, 61, 0.06);
}

.form-control {
  border-radius: 8px;
}

.form-select {
  border-radius: 8px;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
}

.btn-primary,
button[type="submit"].btn-primary,
input[type="submit"].btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--cpg-button-green);
  --bs-btn-border-color: var(--cpg-button-green);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--cpg-button-green-dark);
  --bs-btn-hover-border-color: var(--cpg-button-green-dark);
  --bs-btn-focus-shadow-rgb: 25, 135, 84;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--cpg-button-green-dark);
  --bs-btn-active-border-color: var(--cpg-button-green-dark);
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: var(--cpg-button-green);
  --bs-btn-disabled-border-color: var(--cpg-button-green);
}

.btn-outline-primary {
  --bs-btn-color: var(--cpg-button-green);
  --bs-btn-border-color: var(--cpg-button-green);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--cpg-button-green);
  --bs-btn-hover-border-color: var(--cpg-button-green);
  --bs-btn-focus-shadow-rgb: 25, 135, 84;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--cpg-button-green-dark);
  --bs-btn-active-border-color: var(--cpg-button-green-dark);
  --bs-btn-disabled-color: var(--cpg-button-green);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--cpg-button-green);
}

.btn-link {
  --bs-btn-color: var(--cpg-button-green);
  --bs-btn-hover-color: var(--cpg-button-green-dark);
  --bs-btn-active-color: var(--cpg-button-green-dark);
}

button[type="submit"]:not(.btn),
input[type="submit"]:not(.btn) {
  color: #ffffff;
  background-color: var(--cpg-button-green);
  border-color: var(--cpg-button-green);
}

button[type="submit"]:not(.btn):hover,
button[type="submit"]:not(.btn):focus,
input[type="submit"]:not(.btn):hover,
input[type="submit"]:not(.btn):focus {
  background-color: var(--cpg-button-green-dark);
  border-color: var(--cpg-button-green-dark);
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--cpg-footer);
}

.scroll-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cpg-blue), var(--cpg-blue-dark));
  border: none;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(0, 72, 70, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 1050;
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  background: linear-gradient(135deg, var(--cpg-blue-dark), var(--cpg-blue));
  outline: none;
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.animate-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 68px;
  }

  .site-navbar {
    min-height: 68px;
  }

  .site-navbar.is-scrolled {
    min-height: 50px;
  }

  .brand-text {
    display: none;
  }

  .navbar-collapse {
    padding-top: 12px;
  }

  .navbar-nav {
    align-items: stretch;
    gap: 4px;
  }

  .language-switcher {
    align-self: flex-start;
    margin-top: 14px;
  }

  .navbar .nav-link {
    width: 100%;
    min-height: 46px;
    padding-right: 0;
    padding-left: 0;
    border-radius: 14px;
  }

  .mega-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .mega-menu {
    position: static;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 0.28s ease;
    will-change: max-height;
  }

  .nav-item-mega:hover .mega-menu,
  .nav-item-mega:focus-within .mega-menu {
    max-height: 0;
  }

  .nav-item-mega.is-open .mega-menu {
    max-height: 960px;
    margin-top: 12px;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 0 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mega-menu__intro {
    max-width: none;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  }

  .mega-menu__columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mega-menu__section {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  }

  .mega-menu__section:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .mega-menu__link {
    padding: 12px 0;
    transform: none;
  }

  .hero,
  .hero-inner {
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
    background-attachment: scroll;
  }

  .hero-inner {
    min-height: 48vh;
  }

  .scroll-top-button {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }

  .property-filters__actions {
    flex-direction: column;
  }

  .property-toolbar__meta {
    width: 100%;
    align-items: stretch;
  }

  .property-toolbar__count,
  .property-toolbar__sort {
    width: 100%;
  }

  .property-toolbar__sort {
    min-width: 0;
  }

  .home-hero {
    padding: 56px 0 42px;
  }

  .home-hero__title {
    max-width: 12ch;
  }

  .home-hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading__cta {
    white-space: normal;
  }

  .category-panel {
    grid-template-columns: auto 1fr;
  }

  .category-panel__link {
    grid-column: 2;
  }

  .service-note,
  .action-card,
  .contact-surface__intro,
  .contact-surface__form {
    padding: 26px;
  }
}

@media (max-width: 575.98px) {
  .section-pad {
    padding: 52px 0;
  }

  .property-filters {
    padding: 20px;
  }

  .property-toolbar {
    margin-top: 18px;
    padding-top: 18px;
  }

  .home-hero {
    padding: 42px 0 30px;
  }

  .home-hero__title {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 3.2rem);
  }

  .home-hero__lead {
    font-size: 0.98rem;
  }

  .home-hero__actions,
  .home-hero__panel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__actions .btn,
  .action-card .btn {
    width: 100%;
    min-width: 0;
  }

  .home-hero__metrics {
    grid-template-columns: 1fr;
  }

  .home-hero__panel,
  .category-panel,
  .service-card,
  .service-note,
  .action-card,
  .contact-surface,
  .contact-surface__intro,
  .contact-surface__form {
    padding: 22px;
  }

  .category-panel {
    grid-template-columns: 1fr;
  }

  .category-panel__link {
    grid-column: auto;
  }

  .category-panel__icon {
    width: 54px;
    height: 54px;
    font-size: 1.25rem;
  }

  .service-note h3,
  .category-panel__content h3,
  .service-card h3,
  .property-card-modern__body h3,
  .action-card h3,
  .contact-surface__intro h3 {
    font-size: 1.35rem;
  }

  .property-meta {
    grid-template-columns: 1fr;
  }
}
