/* =========================================================
   Aashrayamitra — rebuilt public UI
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --am-ink: #0c2420;
  --am-forest: #164a3f;
  --am-leaf: #1f6b56;
  --am-mist: #e8f0ed;
  --am-paper: #f4f7f6;
  --am-gold: #c9952a;
  --am-gold-soft: #f3e4c0;
  --am-muted: #5a6f69;
  --am-white: #ffffff;
  --am-radius: 18px;
  --am-shadow: 0 18px 50px rgba(12, 36, 32, 0.12);
  --am-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --primary-color: #1f6b56 !important;
  --secondary-color: #0c2420 !important;
  --button-primary-color: #1f6b56 !important;
  --button-hover-color: #164a3f !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif !important;
  color: var(--am-ink);
  background: var(--am-paper);
}

h1, h2, h3, h4, h5, h6,
.am-heading,
.am-hero__brand,
.am-hero__title,
.am-feature-card__title,
.am-price-card__name,
.am-process-card__title,
.am-quote-card__name {
  font-family: 'Fraunces', Georgia, serif !important;
  letter-spacing: -0.02em;
}

/* ---------- Logo ---------- */
.ld-header-logo {
  display: inline-flex !important;
  align-items: center;
  max-height: none !important;
}
.ld-header-logo img {
  height: 52px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  display: block;
}
.footer-logo,
.am-footer__logo {
  display: inline-flex !important;
  max-height: none !important;
  margin-bottom: 0 !important;
}
.footer-logo img,
.am-footer__logo img {
  height: 48px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
  display: block;
}
.sign-up-top-logo img {
  height: 56px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain;
  display: block;
}
#page-topbar .navbar-brand-box {
  width: 240px !important;
  height: 70px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}
#page-topbar .navbar-brand-box .logo {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
  height: 70px !important;
}
#page-topbar .navbar-brand-box .logo span.logo-lg img,
#page-topbar .navbar-brand-box a.logo img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}
#page-topbar .navbar-brand-box .logo span.logo-sm img {
  height: 28px !important;
  max-width: 36px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ---------- Header ---------- */
.ld-header-section {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(244, 247, 246, 0.9) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 36, 32, 0.06);
  padding: 14px 0 !important;
}
.ld-header-section.is-scrolled {
  box-shadow: 0 8px 28px rgba(12, 36, 32, 0.08);
  background: rgba(255, 255, 255, 0.96) !important;
}
.menu-navbar-nav .nav-link {
  color: var(--am-ink) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
}
.menu-navbar-nav .nav-link:hover,
.menu-navbar-nav .nav-link.active {
  color: var(--am-leaf) !important;
}
.theme-btn {
  background: var(--am-leaf) !important;
  border-color: var(--am-leaf) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 24px rgba(31, 107, 86, 0.28);
  transition: transform 0.25s var(--am-ease), background 0.25s var(--am-ease) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-btn:hover {
  background: var(--am-forest) !important;
  border-color: var(--am-forest) !important;
  transform: translateY(-2px);
  color: #fff !important;
}
.ld-header-section .d-flex.g-10 .theme-btn:first-child {
  background: transparent !important;
  color: var(--am-ink) !important;
  border: 1px solid rgba(12, 36, 32, 0.16) !important;
  box-shadow: none !important;
}
.ld-header-section .d-flex.g-10 .theme-btn:first-child:hover {
  background: var(--am-mist) !important;
  color: var(--am-leaf) !important;
  border-color: var(--am-leaf) !important;
}

/* ---------- Shared section ---------- */
.am-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.am-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.am-section-head--light .am-eyebrow { color: var(--am-gold-soft) !important; }
.am-section-head--light .am-heading { color: #fff !important; }
.am-eyebrow {
  color: var(--am-leaf);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: 'Figtree', sans-serif !important;
}
.am-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  color: var(--am-ink);
  margin: 0;
  line-height: 1.15;
}
.am-heading--sm { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.am-heading--light { color: #fff !important; }
.am-lead {
  color: var(--am-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1rem 0 1.75rem;
}

@keyframes amFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero ---------- */
.am-hero {
  position: relative;
  background: var(--am-paper);
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
}
.am-hero__banner {
  position: relative;
  height: clamp(220px, 28vw, 320px);
  overflow: hidden;
  background: var(--am-ink);
}
.am-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.02);
}
.am-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 36, 32, 0.45) 0%, rgba(12, 36, 32, 0.25) 45%, rgba(12, 36, 32, 0.55) 100%);
}
.am-hero__banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 2.5rem;
}
.am-hero__kicker {
  margin: 0 0 0.35rem;
  color: var(--am-gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Figtree', sans-serif !important;
}
.am-hero__heading {
  margin: 0;
  color: #fff;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  max-width: 18ch;
}
.am-hero__inner {
  position: relative;
  z-index: 3;
  margin-top: -52px;
}
.am-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s var(--am-ease), border-color 0.25s var(--am-ease);
}
.am-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Hero property search ---------- */
.am-hero-search {
  position: relative;
  z-index: 3;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.15rem 1.15rem;
  box-shadow: 0 16px 40px rgba(12, 36, 32, 0.12);
  border: 1px solid rgba(12, 36, 32, 0.06);
}
.am-hero-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.am-hero-search__label {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--am-ink);
}
.am-hero-search__browse {
  color: var(--am-leaf);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.am-hero-search__browse:hover { text-decoration: underline; }
.am-hero-search__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) repeat(3, 0.7fr) auto;
  gap: 0.65rem;
  align-items: end;
}
.am-hero-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.am-hero-search__field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin: 0;
}
.am-hero-search__field select,
.am-hero-search__input input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(12, 36, 32, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--am-ink);
  padding: 0 0.9rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s var(--am-ease), box-shadow 0.2s var(--am-ease);
}
.am-hero-search__field select:focus,
.am-hero-search__input input:focus {
  border-color: var(--am-leaf);
  box-shadow: 0 0 0 3px rgba(31, 107, 86, 0.14);
}
.am-hero-search__input {
  position: relative;
}
.am-hero-search__input i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--am-leaf);
  font-size: 1.1rem;
  pointer-events: none;
}
.am-hero-search__input input {
  padding-left: 2.35rem;
}
.am-hero-search__actions {
  display: flex;
  align-items: flex-end;
}
.am-hero-search__submit {
  height: 48px !important;
  padding: 0 1.35rem !important;
  white-space: nowrap;
  gap: 0.4rem;
  background: var(--am-leaf) !important;
  border-color: var(--am-leaf) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(31, 107, 86, 0.28) !important;
}
.am-hero-search__submit:hover {
  background: var(--am-forest) !important;
  color: #fff !important;
}

@media (max-width: 1199.98px) {
  .am-hero-search__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .am-hero-search__field--grow { grid-column: span 2; }
  .am-hero-search__actions {
    grid-column: span 4;
  }
  .am-hero-search__submit { width: 100%; }
}
@media (max-width: 767.98px) {
  .am-hero__banner {
    height: 200px;
  }
  .am-hero__inner {
    margin-top: -40px;
  }
  .am-hero-search {
    padding: 1rem;
    border-radius: 16px;
  }
  .am-hero-search__grid {
    grid-template-columns: 1fr 1fr;
  }
  .am-hero-search__field--grow,
  .am-hero-search__actions {
    grid-column: span 2;
  }
}

/* ---------- Home property listings (2×5) ---------- */
.am-home-listings {
  background: #fff;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.am-home-listings__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  max-width: none;
  margin: 0 0 1.75rem;
}
.am-home-listings__head .am-heading { margin: 0; }
.am-home-listings__all {
  flex-shrink: 0;
}
.am-home-listings__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.am-prop-card {
  background: var(--am-paper);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 8px 22px rgba(12, 36, 32, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--am-ease), box-shadow 0.3s var(--am-ease);
}
.am-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(12, 36, 32, 0.1);
}
.am-prop-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--am-mist);
}
.am-prop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--am-ease);
}
.am-prop-card:hover .am-prop-card__media img {
  transform: scale(1.05);
}
.am-prop-card__type {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  background: rgba(12, 36, 32, 0.78);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.am-prop-card__body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.am-prop-card__title {
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.am-prop-card__title a {
  color: var(--am-ink);
  text-decoration: none;
}
.am-prop-card__title a:hover { color: var(--am-leaf); }
.am-prop-card__loc {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
  color: var(--am-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}
.am-prop-card__loc i {
  color: var(--am-leaf);
  margin-top: 0.15rem;
  font-size: 0.75rem;
}
.am-prop-card__loc span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.am-prop-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--am-ink);
  font-size: 0.78rem;
  font-weight: 600;
}
.am-prop-card__meta i {
  color: var(--am-leaf);
  margin-right: 0.15rem;
}
.am-prop-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(12, 36, 32, 0.06);
}
.am-prop-card__price {
  margin: 0;
  color: var(--am-leaf);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.am-prop-card__price small {
  display: block;
  color: var(--am-muted);
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
}
.am-prop-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--am-leaf);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.am-prop-card__link:hover {
  background: var(--am-forest);
  color: #fff !important;
}
@media (max-width: 1199.98px) {
  .am-home-listings__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .am-home-listings__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .am-home-listings__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .am-home-listings__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Features (single row) ---------- */
.am-features {
  background: var(--am-paper);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.am-features .am-section-head {
  margin-bottom: 1.75rem;
}
.am-features__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.am-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.15rem 1.35rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(12, 36, 32, 0.05);
  border: 1px solid rgba(12, 36, 32, 0.06);
  transition: transform 0.3s var(--am-ease), box-shadow 0.3s var(--am-ease);
  display: flex;
  flex-direction: column;
}
.am-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(12, 36, 32, 0.1);
}
.am-feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 0 0.85rem;
}
.am-feature-card__icon img {
  width: 48px;
  height: 48px;
  display: block;
}
.am-feature-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--am-ink);
  line-height: 1.3;
}
.am-feature-card__text {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .am-features__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .am-features__row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Advance / Capabilities ---------- */
.am-advance {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(31, 107, 86, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(201, 149, 42, 0.08), transparent 50%),
    #fff;
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
  overflow: hidden;
}
.am-advance__head {
  margin-bottom: 2rem;
  max-width: 640px;
}
.am-advance__intro {
  margin: 0.75rem 0 0;
  color: var(--am-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.am-advance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}
.am-advance-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(12, 36, 32, 0.07);
  box-shadow: 0 10px 28px rgba(12, 36, 32, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--am-ease), box-shadow 0.35s var(--am-ease);
}
.am-advance-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12, 36, 32, 0.12);
}
.am-advance-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--am-mist);
}
.am-advance-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--am-ease);
}
.am-advance-card:hover .am-advance-card__media img {
  transform: scale(1.04);
}
.am-advance-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 36, 32, 0.45) 100%);
  pointer-events: none;
}
.am-advance-card__index {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.am-advance-card__body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.am-advance-card__label {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(31, 107, 86, 0.1);
  color: var(--am-leaf);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.am-advance-card__title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--am-ink);
}
.am-advance-card__text {
  margin: 0 0 1.15rem;
  color: var(--am-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.am-advance-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--am-leaf) !important;
  text-decoration: none;
  transition: gap 0.25s var(--am-ease), color 0.2s var(--am-ease);
}
.am-advance-card__link:hover {
  color: var(--am-forest) !important;
  gap: 0.65rem;
}
.am-advance__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.am-advance__cta-link {
  font-weight: 600;
  color: var(--am-ink) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 36, 32, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s var(--am-ease), border-color 0.2s var(--am-ease);
}
.am-advance__cta-link:hover {
  color: var(--am-leaf) !important;
  border-color: var(--am-leaf);
}
@media (max-width: 991.98px) {
  .am-advance__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ---------- Pricing (single row) ---------- */
.am-pricing {
  background:
    linear-gradient(160deg, #0a1f1b 0%, #12352e 50%, #1f6b56 100%);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.am-pricing .am-section-head {
  margin-bottom: 1.75rem;
}
.am-pricing__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.am-pricing__item {
  display: block;
  height: 100%;
  margin: 0;
}
.am-price-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.2rem 1.4rem;
  height: 100%;
  position: relative;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}
.am-price-card.is-featured {
  border-color: var(--am-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.am-price-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: var(--am-gold);
  color: var(--am-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
.am-price-card__name {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  padding-right: 4.5rem;
}
.am-price-card__desc {
  display: none;
}
.am-price-card__price {
  margin: 0 0 0.9rem;
  color: var(--am-ink);
}
.am-price-card__price span {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  color: var(--am-leaf);
  font-weight: 700;
}
.am-price-card__price small {
  color: var(--am-muted);
  font-size: 0.85rem;
}
.am-price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  flex: 1;
}
.am-price-card__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
  color: var(--am-ink);
  font-size: 0.86rem;
  line-height: 1.35;
}
.am-price-card__list img {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
@media (max-width: 991.98px) {
  .am-pricing__row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ---------- Process (single row) ---------- */
.am-process {
  position: relative;
  background: var(--am-mist);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.am-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--am-process-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}
.am-process .container { position: relative; z-index: 1; }
.am-process .am-section-head {
  margin-bottom: 1.75rem;
}
.am-process__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.am-process-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.15rem 1.35rem;
  height: 100%;
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 8px 22px rgba(12, 36, 32, 0.05);
  transition: transform 0.3s var(--am-ease), box-shadow 0.3s var(--am-ease);
  display: flex;
  flex-direction: column;
}
.am-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(12, 36, 32, 0.1);
}
.am-process-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.am-process-card__icon {
  width: 44px;
  height: 44px;
  margin: 0;
  display: block;
}
.am-process-card__num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(31, 107, 86, 0.22);
  letter-spacing: -0.02em;
  line-height: 1;
}
.am-process-card__step {
  color: var(--am-leaf);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.am-process-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  line-height: 1.3;
  color: var(--am-ink);
}
.am-process-card__text {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .am-process__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .am-process__row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ---------- Testimonials (single row) ---------- */
.am-testimonials {
  background:
    linear-gradient(180deg, #fff 0%, var(--am-mist) 55%, #fff 100%);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.am-testimonials .am-section-head {
  margin-bottom: 1.75rem;
}
.am-testimonials__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.am-quote-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.2rem 1.25rem;
  height: 100%;
  border: 1px solid rgba(12, 36, 32, 0.07);
  box-shadow: 0 8px 22px rgba(12, 36, 32, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--am-ease), box-shadow 0.3s var(--am-ease);
}
.am-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(12, 36, 32, 0.1);
}
.am-quote-card__mark {
  position: absolute;
  top: 0.35rem;
  right: 0.85rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--am-leaf);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}
.am-quote-card__stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 1;
}
.am-quote-card__stars li {
  display: flex !important;
  margin: 0;
  padding: 0;
  color: var(--am-gold);
  font-size: 0.78rem;
  line-height: 1;
}
.am-quote-card__stars .fa-regular {
  color: rgba(201, 149, 42, 0.35);
}
.am-quote-card__text {
  position: relative;
  z-index: 1;
  color: var(--am-ink);
  line-height: 1.55;
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.am-quote-card__author {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(12, 36, 32, 0.07);
  position: relative;
  z-index: 1;
}
.am-quote-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(12, 36, 32, 0.14);
  flex-shrink: 0;
}
.am-quote-card__meta {
  min-width: 0;
}
.am-quote-card__name {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-quote-card__role {
  margin: 0.15rem 0 0;
  color: var(--am-muted);
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1199.98px) {
  .am-testimonials__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .am-testimonials__row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ---------- FAQ ---------- */
.am-faq {
  background:
    linear-gradient(180deg, var(--am-paper) 0%, #fff 40%, var(--am-mist) 100%);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.am-faq .am-section-head {
  margin-bottom: 1.75rem;
}
.am-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  align-items: start;
}
.am-accordion {
  display: grid;
  gap: 0.75rem;
}
.am-accordion__item {
  border: 1px solid rgba(12, 36, 32, 0.07) !important;
  border-radius: 14px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(12, 36, 32, 0.04);
  margin: 0 !important;
}
.am-accordion .accordion-header {
  margin: 0;
}
.am-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--am-ink);
  background: #fff;
  box-shadow: none !important;
  padding: 1rem 1.15rem;
  gap: 0.75rem;
}
.am-accordion .accordion-button::after {
  width: 1.1rem;
  height: 1.1rem;
  background-size: 1.1rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.25s var(--am-ease), opacity 0.2s var(--am-ease);
}
.am-accordion .accordion-button:not(.collapsed) {
  color: var(--am-leaf);
  background: #fff;
  padding-bottom: 0.65rem;
}
.am-accordion .accordion-button:not(.collapsed)::after {
  opacity: 1;
}
.am-accordion .accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent;
}
.am-accordion__q {
  flex: 1;
  text-align: left;
}
.am-accordion .accordion-body {
  color: var(--am-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 1.15rem 1.1rem;
}
@media (max-width: 991.98px) {
  .am-faq__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }
}

/* ---------- CTA ---------- */
.am-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.am-cta__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 36, 32, 0.88), rgba(31, 107, 86, 0.72));
}
.am-cta__inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
  max-width: 640px;
}
.am-cta__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 1rem 0 1.75rem;
}
.am-cta .am-hero__cta,
.am-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

/* ---------- Footer ---------- */
.footer-section.am-footer,
.am-footer {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(31, 107, 86, 0.35), transparent 55%),
    linear-gradient(165deg, #071815 0%, #0f2e28 45%, #0a1f1b 100%) !important;
  padding: clamp(3rem, 6vw, 4.25rem) 0 0 !important;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}
.am-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.am-footer__brand {
  max-width: 360px;
}
.am-footer__logo {
  margin-bottom: 1.1rem !important;
}
.am-footer__blurb {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}
.am-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.am-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s var(--am-ease), transform 0.25s var(--am-ease), border-color 0.25s var(--am-ease);
}
.am-footer__social a:hover {
  background: var(--am-leaf) !important;
  border-color: var(--am-leaf);
  transform: translateY(-2px);
  color: #fff !important;
}
.am-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}
.am-footer__title {
  margin: 0 0 1rem;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff !important;
  letter-spacing: -0.02em;
}
.am-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.am-footer__links a {
  color: rgba(255, 255, 255, 0.68) !important;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 0.2s var(--am-ease);
}
.am-footer__links a:hover {
  color: var(--am-gold-soft) !important;
}
.am-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 1.25rem 0 1.5rem;
}
.am-footer__copy {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}
.am-footer__copy a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
}
.am-footer__copy a:hover {
  color: var(--am-gold-soft) !important;
}
.am-footer__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}
.am-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.am-footer__legal a {
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s var(--am-ease);
}
.am-footer__legal a:hover {
  color: var(--am-gold-soft) !important;
}
@media (max-width: 991.98px) {
  .am-footer__top {
    grid-template-columns: 1fr;
  }
  .am-footer__brand {
    max-width: none;
  }
}
@media (max-width: 575.98px) {
  .am-footer__nav {
    grid-template-columns: 1fr 1fr;
  }
  .am-footer__col:last-child {
    grid-column: 1 / -1;
  }
  .am-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Inner page hero ---------- */
.am-page-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.am-page-hero__media,
.am-page-hero__veil {
  position: absolute;
  inset: 0;
}
.am-page-hero__media {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.am-page-hero__veil {
  background:
    linear-gradient(115deg, rgba(7, 24, 21, 0.92) 0%, rgba(18, 53, 46, 0.78) 48%, rgba(31, 107, 86, 0.55) 100%);
}
.am-page-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.75rem, 5vw, 3.75rem);
  max-width: 760px;
}
.am-page-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}
.am-page-hero__crumb a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
}
.am-page-hero__crumb a:hover {
  color: var(--am-gold-soft) !important;
}
.am-page-hero__eyebrow {
  color: var(--am-gold-soft) !important;
  margin-bottom: 0.65rem;
}
.am-page-hero__title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: #fff !important;
  max-width: 16ch;
}
.am-page-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}
.am-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

/* ---------- Feature page extras ---------- */
.am-feature-page__features {
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
}
.am-feature-page__icons {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.am-feature-page__advance {
  padding-top: clamp(2.5rem, 4vw, 3.25rem);
}
.am-feature-page__why {
  background: var(--am-mist);
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.am-feature-page__why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.am-feature-page__why-copy .am-lead {
  margin: 0.85rem 0 1.5rem;
}
.am-feature-page__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.am-feature-page__points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(12, 36, 32, 0.06);
  border-radius: 16px;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 8px 22px rgba(12, 36, 32, 0.04);
}
.am-feature-page__points img {
  flex-shrink: 0;
  margin-top: 2px;
}
.am-feature-page__points strong {
  display: block;
  font-size: 0.98rem;
  color: var(--am-ink);
  margin-bottom: 0.2rem;
}
.am-feature-page__points span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--am-muted);
}
@media (max-width: 991.98px) {
  .am-feature-page__icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .am-feature-page__why-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .am-feature-page__icons {
    grid-template-columns: 1fr;
  }
  .am-page-hero__title {
    max-width: none;
  }
}

/* ---------- Login ---------- */
.am-login-hero .am-page-hero__title {
  max-width: 12ch;
}
.am-login__password {
  position: relative;
}
.am-login__password input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(12, 36, 32, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--am-ink);
  padding: 0 2.75rem 0 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--am-ease), box-shadow 0.2s var(--am-ease);
}
.am-login__password input:focus {
  border-color: var(--am-leaf);
  box-shadow: 0 0 0 3px rgba(31, 107, 86, 0.14);
}
.am-login__toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--am-muted);
  padding: 0.35rem;
  cursor: pointer;
}
.am-login__toggle:hover {
  color: var(--am-leaf);
}
.am-login__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}
.am-login__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--am-ink);
  cursor: pointer;
}
.am-login__remember input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--am-leaf);
}
.am-login__forgot {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--am-leaf) !important;
  text-decoration: none;
}
.am-login__forgot:hover {
  text-decoration: underline;
}
.am-login__demos {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(12, 36, 32, 0.08);
}
.am-login__demos-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--am-muted);
}
.am-login__demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.am-login__demo {
  border: 1px solid rgba(12, 36, 32, 0.1);
  background: var(--am-paper);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--am-ease), background 0.2s var(--am-ease);
}
.am-login__demo:hover {
  border-color: var(--am-leaf);
  background: rgba(31, 107, 86, 0.06);
}
.am-login__demo strong {
  display: block;
  font-size: 0.86rem;
  color: var(--am-ink);
  margin-bottom: 0.15rem;
}
.am-login__demo span {
  display: block;
  font-size: 0.75rem;
  color: var(--am-muted);
}
@media (max-width: 575.98px) {
  .am-login__demo-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Owner register ---------- */
.am-register-hero .am-page-hero__title {
  max-width: 16ch;
}
.am-register {
  background: var(--am-paper);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.am-register__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.am-register__intro {
  margin: 0.85rem 0 1.25rem;
  color: var(--am-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.am-register__points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.7rem;
}
.am-register__points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--am-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}
.am-register__points img {
  flex-shrink: 0;
  margin-top: 2px;
}
.am-register__aside-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 12px 30px rgba(12, 36, 32, 0.1);
  background: var(--am-mist);
}
.am-register__aside-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.am-register__panel {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 12px 32px rgba(12, 36, 32, 0.06);
}
.am-register__panel-head {
  margin-bottom: 1.35rem;
}
.am-register__title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--am-ink);
}
.am-register__signin {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.95rem;
}
.am-register__signin a {
  color: var(--am-leaf) !important;
  font-weight: 700;
  text-decoration: none;
}
.am-register__signin a:hover {
  text-decoration: underline;
}
.am-register__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}
.am-register__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.am-register__field--full {
  grid-column: 1 / -1;
}
.am-register__field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin: 0;
}
.am-register__field input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(12, 36, 32, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--am-ink);
  padding: 0 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--am-ease), box-shadow 0.2s var(--am-ease);
}
.am-register__field input:focus {
  border-color: var(--am-leaf);
  box-shadow: 0 0 0 3px rgba(31, 107, 86, 0.14);
}
.am-register__error {
  color: #c0452c;
  font-size: 0.82rem;
}
.am-register__recaptcha {
  margin-top: 1rem;
}
.am-register__submit {
  margin-top: 1.25rem;
}
.am-register__note {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  color: var(--am-muted);
  line-height: 1.5;
  text-align: center;
}
.am-register__note a {
  color: var(--am-leaf) !important;
  text-decoration: none;
  font-weight: 600;
}
.am-register__note a:hover {
  text-decoration: underline;
}
@media (max-width: 991.98px) {
  .am-register__layout {
    grid-template-columns: 1fr;
  }
  .am-register__aside-media {
    max-width: 480px;
  }
}
@media (max-width: 575.98px) {
  .am-register__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page ---------- */
.am-contact-hero .am-page-hero__title {
  max-width: 14ch;
}
.am-contact {
  background: var(--am-paper);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.am-contact__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.am-contact__aside {
  padding: 0.25rem 0;
}
.am-contact__intro {
  margin: 0.85rem 0 1.5rem;
  color: var(--am-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.am-contact__details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.am-contact__details li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(12, 36, 32, 0.06);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  box-shadow: 0 6px 18px rgba(12, 36, 32, 0.04);
}
.am-contact__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 107, 86, 0.1);
  color: var(--am-leaf);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.am-contact__details strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin-bottom: 0.2rem;
}
.am-contact__details a,
.am-contact__details span {
  color: var(--am-ink);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}
.am-contact__details a:hover {
  color: var(--am-leaf);
}
.am-contact__panel {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 12px 32px rgba(12, 36, 32, 0.06);
}
.am-contact__form-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  color: var(--am-ink);
}
.am-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}
.am-contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.am-contact__field--full {
  grid-column: 1 / -1;
}
.am-contact__field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin: 0;
}
.am-contact__field label span {
  color: #c0452c;
}
.am-contact__field input,
.am-contact__field textarea {
  width: 100%;
  border: 1px solid rgba(12, 36, 32, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--am-ink);
  padding: 0.8rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--am-ease), box-shadow 0.2s var(--am-ease);
}
.am-contact__field textarea {
  min-height: 140px;
  resize: vertical;
}
.am-contact__field input:focus,
.am-contact__field textarea:focus {
  border-color: var(--am-leaf);
  box-shadow: 0 0 0 3px rgba(31, 107, 86, 0.14);
}
.am-contact__submit {
  margin-top: 1.15rem;
}
@media (max-width: 991.98px) {
  .am-contact__layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .am-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- About page ---------- */
.am-about-hero .am-page-hero__title {
  max-width: 18ch;
}
.am-about-story {
  background: #fff;
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.am-about-story__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.am-about-story__text {
  margin: 0 0 1.5rem;
  color: var(--am-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.am-about-story__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.am-about-story__link {
  font-weight: 700;
  color: var(--am-ink) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 36, 32, 0.25);
  padding-bottom: 2px;
}
.am-about-story__link:hover {
  color: var(--am-leaf) !important;
  border-color: var(--am-leaf);
}
.am-about-story__media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(12, 36, 32, 0.12);
  aspect-ratio: 4 / 3;
  background: var(--am-mist);
}
.am-about-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.am-about-maker {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(31, 107, 86, 0.1), transparent 55%),
    var(--am-mist);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}
.am-about-maker__card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 12px 32px rgba(12, 36, 32, 0.06);
  text-align: center;
}
.am-about-maker__badge {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(201, 149, 42, 0.16);
  color: #8a6418;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.am-about-maker__brand {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--am-ink);
}
.am-about-maker__text {
  margin: 0 auto 1.35rem;
  max-width: 58ch;
  color: var(--am-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.am-about-maker__points {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
  max-width: 480px;
  text-align: left;
}
.am-about-maker__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--am-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}
.am-about-maker__points img {
  flex-shrink: 0;
  margin-top: 2px;
}
.am-about-stats {
  background: linear-gradient(165deg, #071815 0%, #12352e 55%, #1f6b56 100%);
  padding-top: clamp(2.25rem, 4vw, 3rem);
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
}
.am-about-stats__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.am-about-stats__item {
  text-align: center;
  padding: 0.5rem;
}
.am-about-stats__num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.am-about-stats__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.4;
}
.am-about-values {
  background: #fff;
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.am-about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.am-about-value {
  background: var(--am-paper);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(12, 36, 32, 0.06);
  height: 100%;
}
.am-about-value__title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
  color: var(--am-ink);
}
.am-about-value__text {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.am-about-capabilities {
  padding-top: clamp(2.5rem, 4vw, 3.25rem);
}
@media (max-width: 991.98px) {
  .am-about-story__grid {
    grid-template-columns: 1fr;
  }
  .am-about-stats__row,
  .am-about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .am-about-stats__row,
  .am-about-values__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Blog list ---------- */
.am-blog-hero .am-page-hero__title {
  max-width: 16ch;
}
.am-blog {
  background: var(--am-paper);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.am-blog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}
.am-blog__count {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0.2rem 0 0;
  letter-spacing: -0.02em;
  color: var(--am-ink);
}
.am-blog__page-meta {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.9rem;
}
.am-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.am-blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 8px 22px rgba(12, 36, 32, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--am-ease), box-shadow 0.3s var(--am-ease);
}
.am-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(12, 36, 32, 0.1);
}
.am-blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--am-mist);
}
.am-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--am-ease);
}
.am-blog-card:hover .am-blog-card__media img {
  transform: scale(1.04);
}
.am-blog-card__body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.am-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--am-muted);
}
.am-blog-card__cat {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 107, 86, 0.1);
  color: var(--am-leaf);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.am-blog-card__title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}
.am-blog-card__title a {
  color: var(--am-ink);
  text-decoration: none;
}
.am-blog-card__title a:hover {
  color: var(--am-leaf);
}
.am-blog-card__excerpt {
  margin: 0 0 1rem;
  color: var(--am-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.am-blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--am-leaf) !important;
  text-decoration: none;
  transition: gap 0.25s var(--am-ease);
}
.am-blog-card__link:hover {
  color: var(--am-forest) !important;
  gap: 0.55rem;
}
.am-blog__pagination {
  margin-top: 2rem;
}
.am-blog__pagination .blog-listPagiWrap {
  display: flex;
  justify-content: center;
}
.am-blog__pagination .zaiProty-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.am-blog__pagination .zaiProty-pagination .item {
  border: 1px solid rgba(12, 36, 32, 0.1) !important;
  border-radius: 10px !important;
  color: var(--am-ink) !important;
  background: #fff !important;
  padding: 0.45rem 0.8rem !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  box-shadow: none !important;
}
.am-blog__pagination .zaiProty-pagination .item.active,
.am-blog__pagination .zaiProty-pagination .item:hover:not(.disabled) {
  background: var(--am-leaf) !important;
  border-color: var(--am-leaf) !important;
  color: #fff !important;
}
.am-blog__pagination .zaiProty-pagination .item.disabled {
  opacity: 0.45;
  pointer-events: none;
}
.am-blog__empty {
  text-align: center;
  max-width: 480px;
  margin: 2rem auto;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 10px 28px rgba(12, 36, 32, 0.05);
}
.am-blog__empty .am-lead {
  margin: 0.75rem 0 1.5rem;
}
@media (max-width: 991.98px) {
  .am-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .am-blog__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ---------- Properties listing page ---------- */
.am-listings-hero .am-page-hero__inner {
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}
.am-listings-hero .am-page-hero__title {
  max-width: 18ch;
}
.am-listings-filters {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding-bottom: 0.5rem;
}
.am-listings-search {
  margin-bottom: 0;
}
.am-listings-search__hint {
  font-size: 0.86rem;
  color: var(--am-muted);
}
.am-listings {
  background: var(--am-paper);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.am-listings__notice {
  background: #fff4f2;
  border: 1px solid rgba(180, 60, 40, 0.18);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  color: #7a2e22;
  font-size: 0.92rem;
}
.am-listings__notice a {
  color: var(--am-leaf);
}
.am-listings__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.35rem;
}
.am-listings__count {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0.2rem 0 0;
  letter-spacing: -0.02em;
  color: var(--am-ink);
}
.am-listings__page-meta {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.9rem;
}
.am-listings__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.55fr);
  gap: 1.25rem;
  align-items: start;
}
.am-listings__map {
  position: sticky;
  top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 36, 32, 0.08);
  box-shadow: 0 12px 32px rgba(12, 36, 32, 0.08);
  background: #fff;
  min-height: 560px;
  height: calc(100vh - 7rem);
  max-height: 820px;
}
.am-listings__map-canvas {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0 !important;
  border-radius: 0 !important;
}
.am-listings__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.am-listings__grid .am-prop-card {
  background: #fff;
}
.am-listings__pagination {
  margin-top: 1.75rem;
}
.am-listings__pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.am-listings__pagination .page-item .page-link {
  border: 1px solid rgba(12, 36, 32, 0.1);
  border-radius: 10px !important;
  color: var(--am-ink);
  background: #fff;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
}
.am-listings__pagination .page-item.active .page-link,
.am-listings__pagination .page-item .page-link:hover {
  background: var(--am-leaf);
  border-color: var(--am-leaf);
  color: #fff;
}
.am-listings__pagination .page-item.disabled .page-link {
  opacity: 0.45;
  background: #fff;
  color: var(--am-muted);
}
.am-listings__empty {
  text-align: center;
  max-width: 480px;
  margin: 2rem auto;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(12, 36, 32, 0.06);
  box-shadow: 0 10px 28px rgba(12, 36, 32, 0.05);
}
.am-listings__empty .am-lead {
  margin: 0.75rem 0 1.5rem;
}
.am-listings__cluster {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--am-leaf) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(31, 107, 86, 0.35);
  border: 2px solid #fff;
}
.am-listings__marker {
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(12, 36, 32, 0.25);
  object-fit: cover;
}
.am-map-popup {
  width: 220px;
  font-family: 'Figtree', sans-serif;
}
.am-map-popup__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 0.65rem;
  background: var(--am-mist);
}
.am-map-popup__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.am-map-popup__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
  color: var(--am-ink);
  line-height: 1.3;
}
.am-map-popup__text {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--am-muted);
}
.am-map-popup__link {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--am-leaf) !important;
  text-decoration: none;
}
.am-map-popup__link:hover {
  color: var(--am-forest) !important;
}
.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
  box-shadow: 0 12px 30px rgba(12, 36, 32, 0.16) !important;
  padding: 0.35rem !important;
}
.leaflet-popup-content {
  margin: 0.55rem !important;
}
@media (max-width: 1199.98px) {
  .am-listings__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .am-listings-filters {
    margin-top: -1.5rem;
  }
  .am-listings__layout {
    grid-template-columns: 1fr;
  }
  .am-listings__map {
    position: relative;
    top: 0;
    height: 320px;
    min-height: 320px;
    max-height: none;
  }
  .am-listings__map-canvas {
    min-height: 320px;
  }
}
@media (max-width: 575.98px) {
  .am-listings__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Auth ---------- */
.sign-up-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(31, 107, 86, 0.12), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(201, 149, 42, 0.12), transparent 30%),
    var(--am-paper) !important;
}
.sign-up-right-content h1 {
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--am-ink) !important;
}
.sign-up-page .form-control {
  border-radius: 12px !important;
  border-color: rgba(12, 36, 32, 0.12) !important;
}
.sign-up-page .form-control:focus {
  border-color: var(--am-leaf) !important;
  box-shadow: 0 0 0 3px rgba(31, 107, 86, 0.15) !important;
}
.sign-up-page .theme-btn,
.sign-up-page .theme-button1 {
  border-radius: 999px !important;
  background: var(--am-leaf) !important;
  border-color: var(--am-leaf) !important;
}
.sign-up-page .secondary-color,
.sign-up-page .theme-link {
  color: var(--am-leaf) !important;
}

@media (max-width: 767.98px) {
  .ld-header-logo img {
    height: 42px !important;
    max-width: 160px !important;
  }
  .am-hero__brand { font-size: 2.4rem; }
}

/* ---------- Property detail ---------- */
.am-detail-hero {
  min-height: clamp(320px, 48vw, 520px);
}
.am-detail-hero .am-page-hero__title {
  max-width: 22ch;
}
.am-detail-hero .am-page-hero__lead {
  max-width: 42ch;
}
.am-detail-hero__cta,
.am-detail-hero__ghost {
  border-radius: 999px !important;
  padding: 0.85rem 1.4rem !important;
  font-weight: 600 !important;
}
.am-detail-hero__ghost {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: transparent !important;
}
.am-detail-hero__ghost:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.am-detail-gallery {
  margin-top: -1.75rem;
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}
.am-detail-gallery__slider.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}
.am-detail-gallery__item {
  margin: 0;
  border-radius: var(--am-radius);
  overflow: hidden;
  background: var(--am-mist);
  aspect-ratio: 4 / 3;
}
.am-detail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--am-ease);
}
.am-detail-gallery__item:hover img {
  transform: scale(1.04);
}
.am-detail-gallery .owl-nav button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px !important;
  background: var(--am-white) !important;
  color: var(--am-forest) !important;
  box-shadow: 0 8px 22px rgba(12, 36, 32, 0.12);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.am-detail-gallery .owl-nav button:hover {
  background: var(--am-leaf) !important;
  color: #fff !important;
}
.am-detail-gallery .owl-dots {
  margin-top: 0.85rem;
  text-align: center;
}
.am-detail-gallery .owl-dot span {
  background: rgba(12, 36, 32, 0.18) !important;
}
.am-detail-gallery .owl-dot.active span {
  background: var(--am-leaf) !important;
}

.am-detail {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}
.am-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}
.am-detail__pricebar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(12, 36, 32, 0.08);
}
.am-detail__price {
  margin: 0.15rem 0 0;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.15;
  color: var(--am-ink);
  letter-spacing: -0.02em;
}
.am-detail__price small {
  display: inline-block;
  margin-left: 0.25rem;
  font-family: 'Figtree', sans-serif !important;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--am-muted);
}
.am-detail__address {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--am-muted);
}
.am-detail__address i {
  margin-top: 0.2rem;
  color: var(--am-leaf);
}

.am-detail-block {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.am-detail-block .am-heading {
  margin: 0.2rem 0 1rem;
}
.am-detail__prose {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--am-muted);
}
.am-detail__prose p {
  margin-bottom: 0.85rem;
}
.am-detail__prose p:last-child {
  margin-bottom: 0;
}
.am-detail__prose strong {
  color: var(--am-ink);
}

.am-detail-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}
.am-detail-specs li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7faf8);
  border: 1px solid rgba(12, 36, 32, 0.07);
}
.am-detail-specs i {
  color: var(--am-leaf);
  font-size: 1.15rem;
}
.am-detail-specs span {
  font-size: 0.88rem;
  color: var(--am-muted);
}
.am-detail-specs strong {
  font-size: 0.95rem;
  color: var(--am-ink);
  font-weight: 700;
}

.am-detail-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.am-detail-chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--am-mist);
  color: var(--am-forest);
  font-size: 0.88rem;
  font-weight: 600;
}

.am-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.am-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.98rem;
  color: var(--am-muted);
  line-height: 1.5;
}
.am-detail-list i {
  margin-top: 0.15rem;
  color: var(--am-leaf);
  font-size: 1.1rem;
}

.am-detail-nearby {
  display: grid;
  gap: 1rem;
}
.am-detail-nearby__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(12, 36, 32, 0.07);
}
.am-detail-nearby__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.am-detail-nearby__media {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--am-mist);
}
.am-detail-nearby__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.am-detail-nearby__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--am-ink);
}
.am-detail-nearby__body p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--am-muted);
}
.am-detail-nearby__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--am-forest);
}
.am-detail-nearby__meta a {
  color: var(--am-leaf) !important;
  text-decoration: none;
  font-weight: 600;
}
.am-detail-nearby__meta a:hover {
  color: var(--am-forest) !important;
}

.am-detail__aside {
  display: grid;
  gap: 1.15rem;
  position: sticky;
  top: 6.5rem;
}
.am-detail-panel {
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: calc(var(--am-radius) + 2px);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 149, 42, 0.1), transparent 40%),
    linear-gradient(180deg, #fff, #f7faf8);
  border: 1px solid rgba(12, 36, 32, 0.08);
  box-shadow: 0 14px 36px rgba(12, 36, 32, 0.06);
}
.am-detail-panel__title {
  margin: 0.15rem 0 1rem;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.45rem;
  color: var(--am-ink);
}
.am-detail-panel__copy {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.9rem;
  color: var(--am-muted);
  line-height: 1.5;
}
.am-detail-panel__cta {
  width: 100%;
  border-radius: 999px !important;
  margin-top: 0.35rem;
}
.am-detail-owner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.am-detail-owner__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--am-mist);
}
.am-detail-owner__avatar--fallback {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--am-forest);
  background: var(--am-mist);
}
.am-detail-owner strong {
  display: block;
  font-size: 1.02rem;
  color: var(--am-ink);
}
.am-detail-owner span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--am-muted);
}
.am-detail-owner__links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.am-detail-owner__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--am-forest) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.am-detail-owner__links a:hover {
  color: var(--am-leaf) !important;
}
.am-detail-map {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(12, 36, 32, 0.08);
  background: var(--am-mist);
}

.am-detail-related {
  background:
    linear-gradient(180deg, rgba(232, 240, 237, 0.55), transparent 40%),
    var(--am-paper);
}
.am-detail-related__head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.am-detail-related__head .am-heading {
  margin: 0.2rem 0 0.55rem;
}
.am-detail-related__head .am-lead {
  margin: 0;
}
.am-detail-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.am-detail-modal .modal-dialog {
  max-width: 720px;
}
.am-detail-modal__content {
  border: 0;
  border-radius: calc(var(--am-radius) + 4px);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--am-shadow);
}
.am-detail-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0.25rem;
}
.am-detail-modal__title {
  margin: 0.15rem 0 0.35rem;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.55rem;
  color: var(--am-ink);
}
.am-detail-modal__lead {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.95rem;
}
.am-detail-modal__close {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--am-mist);
  color: var(--am-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.am-detail-modal__close:hover {
  background: var(--am-leaf);
  color: #fff;
}
.am-detail-modal__form {
  padding: 1.25rem 1.5rem 1.6rem;
}
.am-detail-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}
.am-detail-modal__field {
  display: grid;
  gap: 0.35rem;
}
.am-detail-modal__field--full {
  grid-column: 1 / -1;
}
.am-detail-modal__field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--am-forest);
}
.am-detail-modal__field .form-control {
  border-radius: 12px !important;
  border-color: rgba(12, 36, 32, 0.12) !important;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--am-ink);
  background: #fff;
}
.am-detail-modal__field .form-control:focus {
  border-color: var(--am-leaf) !important;
  box-shadow: 0 0 0 3px rgba(31, 107, 86, 0.15) !important;
}
.am-detail-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}
.am-detail-modal__actions .theme-btn,
.am-detail-modal__actions .theme-btn-outline {
  border-radius: 999px !important;
  padding: 0.75rem 1.25rem !important;
}

@media (max-width: 991.98px) {
  .am-detail__layout {
    grid-template-columns: 1fr;
  }
  .am-detail__aside {
    position: static;
  }
  .am-detail-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .am-detail-gallery {
    margin-top: -1rem;
  }
  .am-detail-specs {
    grid-template-columns: 1fr;
  }
  .am-detail-nearby__item {
    grid-template-columns: 72px 1fr;
  }
  .am-detail-nearby__media {
    width: 72px;
    height: 72px;
  }
  .am-detail-modal__grid {
    grid-template-columns: 1fr;
  }
  .am-detail-related__grid {
    grid-template-columns: 1fr;
  }
}
