:root {
  --bg: #e7f2e3;
  --text: #0f1a12;
  --muted: rgba(15, 26, 18, 0.75);
  --darkbar: #21372c;
  --underline: #2f6b3f;
  --ratingGreen: #2fa55a;
  --stroke: rgba(33, 55, 44, 0.18);
  --soft: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  font-synthesis: none;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.amg-title,
.amg-services__title,
.amg-card__title,
.amg-h2,
.amg-toolTitle,
.amg-finalTitle,
.amg-propTitle {
  font-family: "DM Serif Display", Georgia, serif;
  font-synthesis: none;
}

.amg-kicker {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

/* NAV */
.amg-header {
  padding: 20px 0;
}

.amg-navbar {
  min-height: 72px;
}

.amg-brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 26, 18, 0.9);
  font-size: 14px;
}

.amg-nav-links .nav-link {
  font-weight: 700;
  font-size: 13px;
  color: rgba(15, 26, 18, 0.82);
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.amg-nav-links .nav-link:hover,
.amg-nav-links .nav-link.active {
  background: rgba(47, 107, 63, 0.1);
  color: rgba(15, 26, 18, 0.95);
}

.amg-top-actions {
  min-width: 290px;
  justify-content: flex-end;
}

.amg-lang-btn {
  min-width: 150px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  padding: 11px 14px;
}

.amg-lang-menu {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  padding: 8px;
}

.amg-lang-menu .dropdown-item {
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
}

.amg-lang-menu .dropdown-item.active {
  background: rgba(33, 55, 44, 0.1);
  color: var(--text);
}

.amg-contact-btn,
.amg-btn {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  font-size: 13px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.amg-contact-btn {
  background: var(--darkbar);
  color: #fff;
}

.amg-contact-btn:hover {
  background: #1a2d24;
  color: #fff;
}

.amg-toggler {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
}

/* HERO */
.amg-hero {
  padding: 30px 0 70px;
}

.amg-title {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 12ch;
}

.amg-desc,
.amg-p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 14px;
}

.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.18em;
  width: 100%;
  height: 3px;
  background: var(--underline);
  border-radius: 999px;
}

.amg-heroMedia,
.amg-about__photo {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(15, 26, 18, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.amg-photo {
  position: relative;
}

.amg-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.amg-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(
    to bottom,
    rgba(231, 242, 227, 0) 0%,
    rgba(33, 55, 44, 0.3) 55%,
    rgba(33, 55, 44, 1) 100%
  );
  pointer-events: none;
}

.amg-bar {
  background: var(--darkbar);
  color: #fff;
  min-height: 82px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 18px;
  font-weight: 900;
}

.amg-score {
  color: var(--ratingGreen);
}

/* BUTTONS */
.amg-btn--primary {
  background: var(--darkbar);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.amg-btn--primary:hover {
  background: #1b2e25;
  color: #fff;
}

.amg-btn--secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border: 1px solid rgba(15, 26, 18, 0.12);
}

.amg-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

/* SERVICES */
.amg-services {
  background: var(--darkbar);
  padding: 90px 0 110px;
  color: #fff;
  position: relative;
}

.amg-services__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.amg-services__kicker {
  font-weight: 900;
  opacity: 0.9;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.amg-services__title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  margin: 0;
}

.underline--mint::after {
  background: #7ef3b0;
  opacity: 0.95;
  height: 3px;
}

.amg-card {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 26px;
  padding: 34px 28px 30px;
  min-height: 290px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.amg-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.amg-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amg-card__title {
  font-size: 28px;
  margin: 6px 0 12px;
}

.amg-card__text {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  font-size: 13.5px;
  max-width: 46ch;
  margin: 0 auto 18px;
  flex: 1 1 auto;
}

.amg-mini-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 12.5px;
  white-space: nowrap;
  margin-top: auto;
}

.amg-mini-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ABOUT */
.amg-about {
  padding: 90px 0 70px;
}

.amg-h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 16ch;
}

.amg-about__photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* LOGO TICKER */
.amg-trusted {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.amg-trusted__label {
  font-weight: 800;
  font-size: 13px;
  color: rgba(15, 26, 18, 0.85);
}

.logo-ticker {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 26, 18, 0.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.logo-ticker__track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: tickerMove 22s linear infinite;
}

.logo-ticker__logo {
  height: 38px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: 0.25s ease;
}

.logo-ticker__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

@keyframes tickerMove {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}

/* QUICK TOOLS */
.amg-homeTools {
  padding: 48px 0 10px;
}

.amg-toolCard {
  border: 1px solid rgba(15, 26, 18, 0.1);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  height: 100%;
}

.amg-toolCard--glass {
  background: rgba(255, 255, 255, 0.55);
}

.amg-toolKicker {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}

.amg-toolTitle {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
  margin: 0 0 12px;
  max-width: 26ch;
}

.amg-toolText {
  margin: 0 0 16px;
  color: rgba(15, 26, 18, 0.75);
  line-height: 1.8;
  font-size: 14px;
  max-width: 70ch;
}

.amg-miniTrust {
  font-size: 12px;
  color: rgba(15, 26, 18, 0.7);
  line-height: 1.8;
}

.amg-pillGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.amg-pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 26, 18, 0.12);
  background: rgba(231, 242, 227, 0.55);
  font-weight: 800;
  font-size: 12.5px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.amg-pill:hover {
  transform: translateY(-1px);
  background: rgba(231, 242, 227, 0.85);
}

.amg-noteBox {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 26, 18, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.amg-noteTitle {
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.amg-noteText {
  font-size: 13px;
  color: rgba(15, 26, 18, 0.72);
  line-height: 1.7;
}

/* FEATURED */
.amg-featured {
  padding: 70px 0;
}

.amg-propCard {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 26, 18, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
  height: 100%;
}

.amg-propCard:hover {
  transform: translateY(-3px);
}

.amg-propImg {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.amg-propImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.amg-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(33, 55, 44, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.amg-badge--buy {
  background: rgba(47, 107, 63, 0.95);
}

.amg-badge--land {
  background: rgba(15, 26, 18, 0.92);
}

.amg-propBody {
  padding: 14px 14px 16px;
}

.amg-propTitle {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 18px;
  color: rgba(15, 26, 18, 0.92);
}

.amg-propMeta {
  font-size: 12.5px;
  color: rgba(15, 26, 18, 0.7);
  margin-bottom: 12px;
}

.amg-propRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.amg-propPrice {
  font-weight: 900;
  font-size: 13px;
  color: rgba(15, 26, 18, 0.92);
}

.amg-propBtn {
  border: 1px solid rgba(15, 26, 18, 0.12);
  background: rgba(231, 242, 227, 0.6);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.amg-propBtn:hover {
  background: rgba(231, 242, 227, 0.9);
  transform: translateY(-1px);
}

.amg-centerCta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

/* AREAS */
.amg-areas {
  padding: 60px 0 70px;
}

.amg-areaCard {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 26, 18, 0.1);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.amg-areaTitle {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 15px;
}

.amg-areaText {
  margin: 0;
  font-size: 13.5px;
  color: rgba(15, 26, 18, 0.72);
  line-height: 1.7;
}

/* FAQ */
.amg-faq {
  padding: 70px 0 70px;
}

.amg-accordion {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.amg-faqItem {
  border-radius: 20px;
  border: 1px solid rgba(15, 26, 18, 0.1);
  background: rgba(255, 255, 255, 0.72);
  padding: 6px 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.amg-faqQ {
  cursor: pointer;
  font-weight: 900;
  padding: 12px 10px;
  list-style: none;
}

.amg-faqQ::-webkit-details-marker {
  display: none;
}

.amg-faqA {
  padding: 0 10px 14px;
  color: rgba(15, 26, 18, 0.75);
  line-height: 1.8;
  font-size: 13.5px;
}

/* FINAL CTA */
.amg-finalCta {
  padding: 10px 0 80px;
}

.amg-finalBox {
  border-radius: 28px;
  border: 1px solid rgba(15, 26, 18, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.75),
    rgba(231, 242, 227, 0.65)
  );
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.amg-finalKicker {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}

.amg-finalTitle {
  margin: 0 0 8px;
  line-height: 1.12;
  font-size: clamp(20px, 2.2vw, 30px);
  max-width: 40ch;
}

.amg-finalText {
  margin: 0;
  color: rgba(15, 26, 18, 0.72);
  font-size: 13.5px;
}

.amg-finalBtns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* FOOTER */
.amg-footer {
  background: var(--darkbar);
  color: rgba(255, 255, 255, 0.92);
  padding: 54px 0 26px;
}

.amg-footerLogo {
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.amg-footerText {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 13.5px;
}

.amg-footerHead {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 10px;
}

.amg-footerLink {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 13px;
}

.amg-footerLink:hover {
  color: #fff;
  text-decoration: underline;
}

.amg-footerMini {
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.amg-footerBottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* WHATSAPP */
.wa-pulse {
  animation: waPulse 1.9s infinite;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 9999;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.05);
}

.wa-float__icon {
  font-size: 26px;
  line-height: 1;
}

.wa-modal {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(33, 55, 44, 0.18);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.wa-modal__header {
  background: rgba(231, 242, 227, 0.85);
  border-bottom: 1px solid rgba(33, 55, 44, 0.12);
}

.wa-modal__body {
  padding: 18px;
}

.wa-form {
  margin: 0;
}

.wa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.wa-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(15, 26, 18, 0.82);
  min-height: 16px;
}

.wa-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(33, 55, 44, 0.18);
  background: rgba(255, 255, 255, 0.82);
  padding: 12px 12px;
  font-weight: 600;
  font-size: 13px;
  outline: none;
  min-height: 46px;
}

.wa-input:focus {
  border-color: rgba(47, 107, 63, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 107, 63, 0.12);
}

.wa-textarea {
  resize: vertical;
  min-height: 90px;
}

.wa-submit {
  width: 100%;
  margin-top: 12px;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--darkbar);
  color: #fff;
  white-space: nowrap;
  min-height: 46px;
}

.wa-submit:hover {
  background: #1b2e25;
  color: #fff;
}

.wa-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(15, 26, 18, 0.65);
}

/* REVEAL */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.js .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .amg-top-actions {
    min-width: 100%;
    margin-top: 16px;
    justify-content: flex-start;
  }

  .amg-title,
  .amg-h2 {
    max-width: none;
  }

  .amg-photo img,
  .amg-about__photo img {
    height: 360px;
  }

  .amg-finalBox {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .amg-btn,
  .amg-contact-btn {
    width: 100%;
  }

  .amg-finalBtns {
    width: 100%;
  }

  .amg-finalBtns .amg-btn {
    width: 100%;
  }

  .wa-grid {
    grid-template-columns: 1fr;
  }

  .amg-propRow {
    flex-direction: column;
    align-items: flex-start;
  }
}
